DecoratorRegistratorExtensions
Represents the extension methods of IDecoratorRegistrator.
public static IStashboxContainer RegisterDecorator<TFrom, TTo>(this IDecoratorRegistrator registrator, Action<DecoratorConfigurator> configurator = null) where TTo : TFrom
Registers a decorator type into the container with custom configuration.
public static IStashboxContainer RegisterDecorator<TFrom>(this IDecoratorRegistrator registrator, Type typeTo, Action<DecoratorConfigurator> configurator = null)
Registers a decorator type into the container with custom configuration.