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: 4.9.1+831973f4d02fbc619921dfaa8ac0c536f60ae7a3
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