##// END OF EJS Templates
Working on Unity xml configuration: Refactoring in progress
Working on Unity xml configuration: Refactoring in progress

File last commit:

r273:79110a16cab7 v3
r273:79110a16cab7 v3
Show More
InstanceRegistrationContext.cs
15 lines | 494 B | text/x-csharp | CSharpLexer
/ Implab.ServiceHost / Unity / InstanceRegistrationContext.cs
using System;
namespace Implab.ServiceHost.Unity {
public class InstanceRegistrationContext : RegistrationContext {
readonly TypeResolver m_typeResolver;
public override TypeResolver Resolver { get { return m_typeResolver; } }
public InstanceRegistrationContext(TypeResolver resolver, Type registrationType) : base(registrationType) {
Safe.ArgumentNotNull(resolver, nameof(resolver));
m_typeResolver = resolver;
}
}
}