DependencyResolver Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]


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

public class DependencyResolver

The DependencyResolver type exposes the following members.

Public methodDependencyResolver(HttpConfiguration)Initializes a new instance of the DependencyResolver class.
Public methodDependencyResolver(HttpConfiguration, IDependencyResolver)Initializes a new instance of the DependencyResolver class.

Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Protected methodGetCachedService
Protected methodGetCachedServices
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetService
Public methodGetServices
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSetResolver(Object)
Public methodSetResolver(IDependencyResolver)
Public methodSetResolver(Func<T, TResult>, Boolean)
Public methodSetService
Public methodSetServices
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.