Compartilhar via


IHttpControllerSelector Interface

Defines the methods that are required for an IHttpController factory.

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

Syntax

'Declaration
Public Interface IHttpControllerSelector
'Usage
Dim instance As IHttpControllerSelector
public interface IHttpControllerSelector
public interface class IHttpControllerSelector
type IHttpControllerSelector =  interface end
public interface IHttpControllerSelector

The IHttpControllerSelector type exposes the following members.

Methods

  Name Description
Public method GetControllerMapping Returns a map, keyed by controller string, of all HttpControllerDescriptor that the selector can select. This is primarily called by IApiExplorer to discover all the possible controllers in the system.
Public method SelectController Selects a HttpControllerDescriptor for the given HttpRequestMessage.

Top

See Also

Reference

System.Web.Http.Dispatcher Namespace