TypesToRegisterOptionsIncludeDecorators Property

Simple Injector
Gets or sets a value indicating whether decorator types should be included in the result. The default value of this property is false. A type is considered a decorator if the type's constructor contains a parameter of the type that exactly matches the
serviceType
argument, supplied to the GetTypesToRegister method, or when there is a FuncTResult argument where matches the
serviceType
argument.

Namespace:  SimpleInjector
Assembly:  SimpleInjector (in SimpleInjector.dll) Version: 4.0.0
Syntax

public bool IncludeDecorators { get; set; }

Property Value

Type: Boolean
A boolean.
See Also

Reference