IDecoratorRegistrator
Represents a decorator registrator.
IStashboxContainer RegisterDecorator(Type typeFrom, Type typeTo, Action<DecoratorConfigurator> configurator = null)
Registers a decorator type into the container with custom configuration.
IStashboxContainer RegisterDecorator<TFrom, TTo>(Action<DecoratorConfigurator<TFrom, TTo>> configurator = null) where TTo : TFrom
Registers a decorator type into the container with custom configuration.
IStashboxContainer RegisterDecorator(Type typeTo, Action<DecoratorConfigurator> configurator = null)
Registers a decorator type into the container with custom configuration.
This function configures the registration with the AsImplementedTypes option.
IStashboxContainer RegisterDecorator<TTo>(Action<DecoratorConfigurator<TTo, TTo>> configurator = null)
Registers a decorator type into the container with custom configuration.
This function configures the registration with the AsImplementedTypes option.
IStashboxContainer RegisterDecorator<TFrom>(Type typeTo, Action<DecoratorConfigurator<TFrom, TFrom>> configurator = null)
Registers a decorator type into the container with custom configuration.