Click or drag to resize

AutofacDependencyResolver Class

Autofac implementation of the IDependencyResolver interface.
Inheritance Hierarchy
SystemObject
  Autofac.Integration.MvcAutofacDependencyResolver

Namespace:  Autofac.Integration.Mvc
Assembly:  Autofac.Integration.Mvc (in Autofac.Integration.Mvc.dll) Version: 6.0.0+106fe194fc419c09f32d39119967f68798cc6895
Syntax
public class AutofacDependencyResolver : IDependencyResolver

The AutofacDependencyResolver type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyApplicationContainer
Gets the application container that was provided to the constructor.
Public propertyStatic memberCurrent
Gets the Autofac implementation of the dependency resolver.
Public propertyRequestLifetimeScope
Gets the lifetime containing components for processing the current HTTP request.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetService
Get a single instance of a service.
Public methodGetServices
Gets all available instances of a services.
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 methodStatic memberSetAutofacDependencyResolverAccessor
Sets the mechanism used to locate the current Autofac dependency resolver.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also