AutofacWebApiDependencyScope Class |
Namespace: Autofac.Integration.WebApi
The AutofacWebApiDependencyScope type exposes the following members.
Name | Description | |
---|---|---|
AutofacWebApiDependencyScope |
Initializes a new instance of the AutofacWebApiDependencyScope class.
|
Name | Description | |
---|---|---|
LifetimeScope |
Gets the lifetime scope for the current dependency scope.
|
Name | Description | |
---|---|---|
Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
| |
Dispose(Boolean) |
Releases unmanaged and - optionally - managed resources.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize |
Finalizes an instance of the AutofacWebApiDependencyScope class.
(Overrides ObjectFinalize.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetService |
Try to get a service of the given type.
| |
GetServices |
Try to get a list of services of the given 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 | |
---|---|---|
GetRequestLifetimeScope |
Gets the request lifetime scope from the Autofac dependency scope.
(Defined by DependencyResolverExtensions.) |