Autofac .NET Inversion of Control Container
AssignableTo<(Of <(T>)>) Method (registration)
NamespacesAutofacRegistrationExtensionsAssignableTo<(Of <(T>)>)(IRegistrationBuilder<(Of <(Object, ScanningActivatorData, DynamicRegistrationStyle>)>))
Filters the scanned types to include only those assignable to the provided type.
Declaration Syntax
Generic Template Parameters
T
The type or interface which all classes must be assignable from.
Parameters
registration (IRegistrationBuilder<(Of <(Object, ScanningActivatorData, DynamicRegistrationStyle>)>))
Registration to filter types from.
Return Value
Registration builder allowing the registration to be configured.

Assembly: Autofac (Module: Autofac) Version: 2.1.13.813 (2.1.13.813)