Click or drag to resize

ImplicitRegistrationSourceBuildRegistration Method

Allows hooking into the registration pipeline of the registration source, useful for such things as marking a registration as externally owned.

Namespace:  Autofac.Core
Assembly:  Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax
protected virtual IRegistrationBuilder<Object, SimpleActivatorData, SingleRegistrationStyle> BuildRegistration(
	IRegistrationBuilder<Object, SimpleActivatorData, SingleRegistrationStyle> registration
)

Parameters

registration
Type: Autofac.BuilderIRegistrationBuilderObject, SimpleActivatorData, SingleRegistrationStyle
The registration builder.

Return Value

Type: IRegistrationBuilderObject, SimpleActivatorData, SingleRegistrationStyle
The updated registration builder.
See Also