Autofac .NET Inversion of Control Container
RegisterType<(Of <(TImplementor>)>) Method (builder)
NamespacesAutofacRegistrationExtensionsRegisterType<(Of <(TImplementor>)>)(ContainerBuilder)
Register a component to be created through reflection.
Declaration Syntax
C#Visual BasicVisual C++
public static IRegistrationBuilder<TImplementor, ConcreteReflectionActivatorData, SingleRegistrationStyle> RegisterType<TImplementor>(
	ContainerBuilder builder
)
Public Shared Function RegisterType(Of TImplementor) ( _
	builder As ContainerBuilder _
) As IRegistrationBuilder(Of TImplementor, ConcreteReflectionActivatorData, SingleRegistrationStyle)
public:
generic<typename TImplementor>
static IRegistrationBuilder<TImplementor, ConcreteReflectionActivatorData^, SingleRegistrationStyle^>^ RegisterType(
	ContainerBuilder^ builder
)
Generic Template Parameters
TImplementor
The type of the component implementation.
Parameters
builder (ContainerBuilder)
Container builder.
Return Value
Registration builder allowing the registration to be configured.

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