##// END OF EJS Templates
Refactoring...
Refactoring Added <array> element to injection parameters Working on registrations of factories

File last commit:

r277:963b17c275be v3
r277:963b17c275be v3
Show More
DefaultParameterElement.cs
12 lines | 401 B | text/x-csharp | CSharpLexer
namespace Implab.ServiceHost.Unity
{
public class DefaultParameterElement : InjectionParameterElement {
public string Value {
get { return null; }
}
public override void Visit(InjectionValueBuilder builder) {
var type = builder.ResolveInjectedValueType(TypeName);
builder.SetValue(type, Safe.CreateDefaultValue(type));
}
}
}