Click or drag to resize

IRegistrationBuilderTLimit, TActivatorData, TRegistrationStylePropertiesAutowired Method

Configure the component so that any properties whose types are registered in the container and follow specific criteria will be wired to instances of the appropriate service.

Namespace:  Autofac.Builder
Assembly:  Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax
IRegistrationBuilder<TLimit, TActivatorData, TRegistrationStyle> PropertiesAutowired(
	IPropertySelector propertySelector,
	bool allowCircularDependencies = false
)

Parameters

propertySelector
Type: Autofac.CoreIPropertySelector
Selector to determine which properties should be injected.
allowCircularDependencies (Optional)
Type: SystemBoolean
Determine if circular dependencies should be allowed or not.

Return Value

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