IDependencyResolver Interface

 

Represents a dependency injection container.

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

Syntax

public interface IDependencyResolver : IDependencyScope, IDisposable
public interface class IDependencyResolver : IDependencyScope, 
    IDisposable
type IDependencyResolver = 
    interface
        interface IDependencyScope
        interface IDisposable
    end
Public Interface IDependencyResolver
    Inherits IDependencyScope, IDisposable

Methods

Name Description
System_CAPS_pubmethod BeginScope()

Starts a resolution scope.

System_CAPS_pubmethod Dispose()

(Inherited from IDisposable.)

System_CAPS_pubmethod GetService(Type)

Retrieves a service from the scope.(Inherited from IDependencyScope.)

System_CAPS_pubmethod GetServices(Type)

Retrieves a collection of services from the scope.(Inherited from IDependencyScope.)

See Also

System.Web.Http.Dependencies Namespace

Return to top