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<TFrom>(Type typeTo, Action<DecoratorConfigurator<TFrom, TFrom>> configurator = null)
Registers a decorator type into the container with custom configuration.