Click or drag to resize

IDecoratorContext Interface

Defines the context interface used during the decoration process.

Namespace:  Autofac.Features.Decorators
Assembly:  Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax
public interface IDecoratorContext

The IDecoratorContext type exposes the following members.

Properties
  NameDescription
Public propertyAppliedDecorators
Gets the decorator instances that have been applied.
Public propertyAppliedDecoratorTypes
Gets the implementation types of the decorators that have been applied.
Public propertyCurrentInstance
Gets the current instance in the decorator chain. This will be initialized to the service being decorated and will then become the decorated instance as each decorator is applied.
Public propertyImplementationType
Gets the implementation type of the service that is being decorated.
Public propertyServiceType
Gets the service type of the service that is being decorated.
Top
See Also