IDependencyResolver Interface

Represents a dependency injection container.

Namespace:  System.Web.Http.Dependencies
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public Interface IDependencyResolver _
    Inherits IDependencyScope, IDisposable
'Usage
Dim instance As IDependencyResolver
public interface IDependencyResolver : IDependencyScope, 
    IDisposable
public interface class IDependencyResolver : IDependencyScope, 
    IDisposable
type IDependencyResolver =  
    interface 
        interface IDependencyScope 
        interface IDisposable 
    end
public interface IDependencyResolver extends IDependencyScope, IDisposable

The IDependencyResolver type exposes the following members.

Methods

  Name Description
Public method BeginScope Starts a resolution scope.
Public method Dispose (Inherited from IDisposable.)
Public method GetService Retrieves a service from the scope. (Inherited from IDependencyScope.)
Public method GetServices Retrieves a collection of services from the scope. (Inherited from IDependencyScope.)

Top

See Also

Reference

System.Web.Http.Dependencies Namespace