SingleRegistrationStyle Class |
Namespace: Autofac.Builder
The SingleRegistrationStyle type exposes the following members.
Name | Description | |
---|---|---|
![]() | SingleRegistrationStyle | Initializes a new instance of the SingleRegistrationStyle class |
Name | Description | |
---|---|---|
![]() | Id |
Gets or sets the ID used for the registration.
|
![]() | PreserveDefaults |
Gets or sets a value indicating whether default registrations should be preserved.
By default, new registrations override existing registrations as defaults.
If set to true, new registrations will not change existing defaults.
|
![]() | RegisteredHandlers |
Gets the handlers to notify of the component registration event.
|
![]() | Target |
Gets or sets the component upon which this registration is based.
|
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |