Freigeben über


DefaultHttpControllerTypeResolver Class

Provides an implementation of IHttpControllerTypeResolver with no external dependencies.

Inheritance Hierarchy

System.Object
  System.Web.Http.Dispatcher.DefaultHttpControllerTypeResolver

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

Syntax

'Declaration
Public Class DefaultHttpControllerTypeResolver _
    Implements IHttpControllerTypeResolver
'Usage
Dim instance As DefaultHttpControllerTypeResolver
public class DefaultHttpControllerTypeResolver : IHttpControllerTypeResolver
public ref class DefaultHttpControllerTypeResolver : IHttpControllerTypeResolver
type DefaultHttpControllerTypeResolver =  
    class 
        interface IHttpControllerTypeResolver 
    end
public class DefaultHttpControllerTypeResolver implements IHttpControllerTypeResolver

The DefaultHttpControllerTypeResolver type exposes the following members.

Constructors

  Name Description
Public method DefaultHttpControllerTypeResolver() Initializes a new instance of the DefaultHttpControllerTypeResolver class.
Public method DefaultHttpControllerTypeResolver(Predicate<Type>) Initializes a new DefaultHttpControllerTypeResolver instance using a predicate to filter controller types.

Top

Properties

  Name Description
Protected property IsControllerTypePredicate Gets a value whether the resolver type is a controller type predicate.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetControllerTypes Returns a list of controllers available for the application.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

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

See Also

Reference

System.Web.Http.Dispatcher Namespace