AutofacServiceProvider Methods |
The AutofacServiceProvider type exposes the following members.
| Name | Description | |
|---|---|---|
| Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
| |
| Dispose(Boolean) |
Releases unmanaged and - optionally - managed resources.
| |
| DisposeAsync |
Performs a dispose operation asynchronously.
| |
| 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.) | |
| GetRequiredService |
Gets service of type serviceType from the
AutofacServiceProvider and requires it be present.
| |
| GetService |
Gets the service object of the specified type.
| |
| 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.) |
| Name | Description | |
|---|---|---|
| GetAutofacMultitenantRoot |
Tries to cast the instance of MultitenantContainer from AutofacServiceProvider when possible.
(Defined by AutofacMultitenantServiceProviderExtensions.) | |
| GetAutofacRoot |
Tries to cast the instance of ILifetimeScope from AutofacServiceProvider when possible.
(Defined by ServiceProviderExtensions.) |