Click or drag to resize

AutofacWebApiDependencyResolver Methods

The AutofacWebApiDependencyResolver type exposes the following members.

Methods
  NameDescription
Public methodBeginScope
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.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Finalizes an instance of the AutofacWebApiDependencyResolver class.
(Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetService
Try to get a service of the given type.
Public methodGetServices
Try to get a list of services of the given type.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodGetRequestLifetimeScope
Gets the request lifetime scope from the Autofac dependency scope.
(Defined by DependencyResolverExtensions.)
Public Extension MethodGetRootLifetimeScope
Gets the root lifetime scope from the Autofac dependency resolver.
(Defined by DependencyResolverExtensions.)
Top
See Also