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
<FlagsAttribute>
Public Enumeration RegistrationOptions
Members
| Member name | Value | Description |
---|
| None | 0 |
No special options; default behaviour.
|
| Fixed | 2 |
Indicates that this registration is 'fixed' as the default, ignoring all other registrations when determining the default registration for
a service.
|
| DisableDecoration | 4 |
Registrations with this flag will not be decorated.
|
| ExcludeFromCollections | 8 |
Registrations with this flag will not be included in any collection resolves (i.e. IEnumerableT and other collection types).
|
| Composite | 14 |
Flag combination for composite registrations.
|
See Also