TypesToRegisterOptionsIncludeGenericTypeDefinitions Property

Simple Injector
Gets or sets a value indicating whether generic type definitions (types that have TypeInfo.IsGenericTypeDefinition or Type.IsGenericTypeDefinition set to true) should be included in the result. The default value for this property is false.

Namespace:  SimpleInjector
Assembly:  SimpleInjector (in SimpleInjector.dll) Version: 5.3.0

public bool IncludeGenericTypeDefinitions { get; set; }

Property Value

Type: Boolean
A boolean.
See Also