##// 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
/ Implab.ServiceHost / Unity / DefaultParameterElement.cs
cin
Working on Unity container xml configuration
r270 namespace Implab.ServiceHost.Unity
{
cin
Refactoring...
r277 public class DefaultParameterElement : InjectionParameterElement {
cin
Unity xml configuration, alpha2
r274 public string Value {
get { return null; }
}
cin
refactoring
r275 public override void Visit(InjectionValueBuilder builder) {
cin
Refactoring...
r277 var type = builder.ResolveInjectedValueType(TypeName);
builder.SetValue(type, Safe.CreateDefaultValue(type));
cin
preview version of Unity xml configuration
r272 }
cin
Working on Unity container xml configuration
r270 }
}