RegistrationBuilderForType Method (Type) |
Creates a registration builder for the provided type.
Namespace:
Autofac.Builder
Assembly:
Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax public static IRegistrationBuilder<Object, ConcreteReflectionActivatorData, SingleRegistrationStyle> ForType(
Type implementationType
)
Public Shared Function ForType (
implementationType As Type
) As IRegistrationBuilder(Of Object, ConcreteReflectionActivatorData, SingleRegistrationStyle)
Parameters
- implementationType
- Type: SystemType
Implementation type to register.
Return Value
Type:
IRegistrationBuilderObject,
ConcreteReflectionActivatorData,
SingleRegistrationStyleA registration builder.
See Also