##// END OF EJS Templates
code cleanup and refactoring
code cleanup and refactoring

File last commit:

r281:e0916ddc9950 v3
r281:e0916ddc9950 v3
Show More
DefaultParameterElement.cs
12 lines | 406 B | text/x-csharp | CSharpLexer
/ Implab.ServiceHost / Unity / DefaultParameterElement.cs
cin
Working on Unity container xml configuration
r270 namespace Implab.ServiceHost.Unity
{
cin
code cleanup and refactoring
r281 public class DefaultParameterElement : AbstractInjectionParameter {
cin
Unity xml configuration, alpha2
r274 public string Value {
get { return null; }
}
cin
Implab: added XmlDefaultSeializer (SerializersPool is now obsolete)...
r278 public override void Visit(InjectionParameterBuilder 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 }
}