Click or drag to resize

RegistrationOptions Enumeration

Defines options for a registration.

Namespace:  Autofac.Core.Registration
Assembly:  Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax
[FlagsAttribute]
public enum RegistrationOptions
Members
  Member nameValueDescription
None0 No special options; default behaviour.
Fixed2 Indicates that this registration is 'fixed' as the default, ignoring all other registrations when determining the default registration for a service.
DisableDecoration4 Registrations with this flag will not be decorated.
ExcludeFromCollections8 Registrations with this flag will not be included in any collection resolves (i.e. IEnumerableT and other collection types).
Composite14 Flag combination for composite registrations.
See Also