Click or drag to resize

PropertyWiringOptions Enumeration

Options that can be applied when autowiring properties on a component. (Multiple options can be specified using bitwise 'or' - e.g. AllowCircularDependencies | PreserveSetValues.

Namespace:  Autofac
Assembly:  Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax
[FlagsAttribute]
public enum PropertyWiringOptions
Members
  Member nameValueDescription
None0 Default behavior. Circular dependencies are not allowed; existing non-default property values are overwritten.
AllowCircularDependencies1 Allows property-property and property-constructor circular dependency wiring. This flag moves property wiring from the Activating to the Activated event.
PreserveSetValues2 If specified, properties that already have a non-default value will be left unchanged in the wiring operation.
See Also