Click or drag to resize

AutofacWebApiDependencyScope Class

Autofac implementation of the IDependencyScope interface.
Inheritance Hierarchy
SystemObject
  Autofac.Integration.WebApiAutofacWebApiDependencyScope

Namespace:  Autofac.Integration.WebApi
Assembly:  Autofac.Integration.WebApi (in Autofac.Integration.WebApi.dll) Version: 4.2.0-CI-258
Syntax
public class AutofacWebApiDependencyScope : IDependencyScope, 
	IDisposable

The AutofacWebApiDependencyScope type exposes the following members.

Constructors
  NameDescription
Public methodAutofacWebApiDependencyScope
Initializes a new instance of the AutofacWebApiDependencyScope class.
Top
Properties
  NameDescription
Public propertyLifetimeScope
Gets the lifetime scope for the current dependency scope.
Top
Methods
  NameDescription
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 AutofacWebApiDependencyScope 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.)
Top
See Also