AutofacDependencyResolver Class |
Namespace: Autofac.Integration.Mvc
The AutofacDependencyResolver type exposes the following members.
Name | Description | |
---|---|---|
AutofacDependencyResolver(ILifetimeScope) |
Initializes a new instance of the AutofacDependencyResolver class.
| |
AutofacDependencyResolver(ILifetimeScope, ILifetimeScopeProvider) |
Initializes a new instance of the AutofacDependencyResolver class.
| |
AutofacDependencyResolver(ILifetimeScope, ActionContainerBuilder) |
Initializes a new instance of the AutofacDependencyResolver class.
| |
AutofacDependencyResolver(ILifetimeScope, ILifetimeScopeProvider, ActionContainerBuilder) |
Initializes a new instance of the AutofacDependencyResolver class.
|
Name | Description | |
---|---|---|
ApplicationContainer |
Gets the application container that was provided to the constructor.
| |
Current |
Gets the Autofac implementation of the dependency resolver.
| |
RequestLifetimeScope |
Gets the lifetime containing components for processing the current HTTP request.
|
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.) | |
GetService |
Get a single instance of a service.
| |
GetServices |
Gets all available instances of a services.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetAutofacDependencyResolverAccessor |
Sets the mechanism used to locate the current Autofac dependency resolver.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |