##// END OF EJS Templates
Container configuration cleanup, RC2
Container configuration cleanup, RC2

File last commit:

r278:6691aff01de1 v3
r279:8714471e8d78 v3
Show More
DefaultParameterElement.cs
12 lines | 405 B | text/x-csharp | CSharpLexer
namespace Implab.ServiceHost.Unity
{
public class DefaultParameterElement : InjectionParameterElement {
public string Value {
get { return null; }
}
public override void Visit(InjectionParameterBuilder builder) {
var type = builder.ResolveInjectedValueType(TypeName);
builder.SetValue(type, Safe.CreateDefaultValue(type));
}
}
}