Click or drag to resize

IComponentRegistryBuilderRegister Method (IComponentRegistration, Boolean)

Register a component.

Namespace:  Autofac.Core.Registration
Assembly:  Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax
void Register(
	IComponentRegistration registration,
	bool preserveDefaults
)

Parameters

registration
Type: Autofac.CoreIComponentRegistration
The component registration.
preserveDefaults
Type: SystemBoolean
If true, existing defaults for the services provided by the component will not be changed.
See Also