AutofacWebApiDependencyResolver Methods |
The AutofacWebApiDependencyResolver type exposes the following members.
Name | Description | |
---|---|---|
BeginScope |
Starts a resolution scope. Objects which are resolved in the given scope will belong to
that scope, and when the scope is disposed, those objects are returned to the container.
| |
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 AutofacWebApiDependencyResolver 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.) | |
GetRootLifetimeScope |
Gets the root lifetime scope from the Autofac dependency resolver.
(Defined by DependencyResolverExtensions.) |