##// END OF EJS Templates
Added IObservable to TraceRegistry
Added IObservable to TraceRegistry

File last commit:

r281:e0916ddc9950 v3
r288:90cef6117ced v3
Show More
DefaultParameterElement.cs
12 lines | 406 B | text/x-csharp | CSharpLexer
namespace Implab.ServiceHost.Unity
{
public class DefaultParameterElement : AbstractInjectionParameter {
public string Value {
get { return null; }
}
public override void Visit(InjectionParameterBuilder builder) {
var type = builder.ResolveInjectedValueType(TypeName);
builder.SetValue(type, Safe.CreateDefaultValue(type));
}
}
}