Defines options to control the types returned from the GetTypesToRegister method. For a type to be returned, it should match all the conditions described by the class's properties. In other words, in case the searched assembly contains a generic type, that is both a decorator and a composite, it will only be returned by GetTypesToRegister in case both IncludeGenericTypeDefinitions, IncludeDecorators and IncludeComposites are set to true.
Assembly: SimpleInjector (in SimpleInjector.dll) Version: 4.4.0
Thetype exposes the following members.
Initializes a new instance of theclass.
Gets or sets a value indicating whether composite types should be included in the result. The default value of this property is true. A type is considered a composite if the type's constructor contains a parameter of
(array of T), where GetTypesToRegister method.
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 GetTypesToRegister method, or when there is a FuncTResult argument where
Gets or sets a value indicating whether generic type definitions (types that have Type.IsGenericTypeDefinition set to true) should be included in the result. The default value for this property is false.