Click or drag to resize

IRegistrationBuilderTLimit, TActivatorData, TRegistrationStyleInstancePerDependency Method

Configure the component so that every dependent component or call to Resolve() gets a new, unique instance (default).

Namespace:  Autofac.Builder
Assembly:  Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
IRegistrationBuilder<TLimit, TActivatorData, TRegistrationStyle> InstancePerDependency()

Return Value

Type: IRegistrationBuilderTLimit, TActivatorData, TRegistrationStyle
A registration builder allowing further configuration of the component.
See Also