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

public interface IHttpControllerSelector
public interface class IHttpControllerSelector
type IHttpControllerSelector = interface end
Public Interface IHttpControllerSelector

Methods

Name Description
System_CAPS_pubmethod 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.

System_CAPS_pubmethod SelectController(HttpRequestMessage)

Selects a HttpControllerDescriptor for the given HttpRequestMessage.

See Also

System.Web.Http.Dispatcher Namespace

Return to top