Arc.Infrastructure.Dependencies.Registration.Auto.BaseRegisterTypeStrategy.Register C# (CSharp) Method

Register() protected method

Registers the specified service.
protected Register ( Type service, Type implementation, IServiceLocator locator ) : void
service System.Type The service.
implementation System.Type The implementation.
locator IServiceLocator The locator.
return void
        protected void Register(Type service, Type implementation, IServiceLocator locator)
        {
            locator.Register(
                Requested.Service(service)
                    .IsImplementedBy(implementation)
                    .LifeStyle.Is(Scope));
        }
BaseRegisterTypeStrategy