IDependencyRegistrator
Represents a dependency registrator.
IStashboxContainer Register<TFrom, TTo>(Action<RegistrationConfigurator<TFrom, TTo>> configurator = null) where TTo : TFrom
Registers a type into the container with custom configuration.
IStashboxContainer Register<TFrom>(Type typeTo, Action<RegistrationConfigurator<TFrom, TFrom>> configurator = null)
Registers a type into the container with custom configuration.
IStashboxContainer Register(Type typeFrom, Type typeTo, Action<RegistrationConfigurator> configurator = null)
Registers a type into the container with custom configuration.
Registers a type into the container with custom configuration.
Registers a type into the container with custom configuration.
IStashboxContainer RegisterInstance<TInstance>(TInstance instance, object name = null, bool withoutDisposalTracking = false, Action<TInstance> finalizerDelegate = null)
Registers an already constructed instance into the container.
IStashboxContainer RegisterInstance(object instance, Type serviceType, object name = null, bool withoutDisposalTracking = false)
Registers an already constructed instance into the container.
IStashboxContainer WireUp<TInstance>(TInstance instance, object name = null, bool withoutDisposalTracking = false, Action<TInstance> finalizerDelegate = null)
Registers an already constructed instance, but the container will perform injections and extensions on it.
IStashboxContainer WireUp(object instance, Type serviceType, object name = null, bool withoutDisposalTracking = false)
Registers an already constructed instance, but the container will perform injections and extensions on it.