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; } } }