RegistrationData Class |
Namespace: Autofac.Builder
The RegistrationData type exposes the following members.
Name | Description | |
---|---|---|
RegistrationData |
Initializes a new instance of the RegistrationData class.
|
Name | Description | |
---|---|---|
DeferredCallback |
Gets or sets the callback used to register this component.
| |
Lifetime |
Gets or sets the lifetime assigned to the component.
| |
Metadata |
Gets the extended properties assigned to the component.
| |
Options |
Gets or sets the options for the registration.
| |
Ownership |
Gets or sets the instance ownership assigned to the component.
| |
Services |
Gets the services explicitly assigned to the component.
| |
Sharing |
Gets or sets the sharing mode assigned to the component.
|
Name | Description | |
---|---|---|
AddService |
Add a service to the registration, overriding the default.
| |
AddServices |
Add multiple services for the registration, overriding the default.
| |
ClearServices |
Empties the configured services.
| |
CopyFrom |
Copies the contents of another RegistrationData object into this one.
| |
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.) |