InstanceRegistrationContext.cs
15 lines
| 494 B
| text/x-csharp
|
CSharpLexer
cin
|
r273 | 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; | |||
} | |||
} | |||
} |