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

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