Partager via


HttpConfiguration.DependencyResolver Property

Gets or sets the dependency resolver associated with thisinstance.

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

Syntax

'Declaration
Public Property DependencyResolver As IDependencyResolver 
    Get 
    Set
'Usage
Dim instance As HttpConfiguration 
Dim value As IDependencyResolver 

value = instance.DependencyResolver

instance.DependencyResolver = value
public IDependencyResolver DependencyResolver { get; set; }
public:
property IDependencyResolver^ DependencyResolver {
    IDependencyResolver^ get ();
    void set (IDependencyResolver^ value);
}
member DependencyResolver : IDependencyResolver with get, set
function get DependencyResolver () : IDependencyResolver 
function set DependencyResolver (value : IDependencyResolver)

Property Value

Type: System.Web.Http.Dependencies.IDependencyResolver
The dependency resolver.

See Also

Reference

HttpConfiguration Class

System.Web.Http Namespace