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)

public interface class IHttpControllerSelector

The IHttpControllerSelector type exposes the following members.

Public methodGetControllerMapping 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 methodSelectController Selects a HttpControllerDescriptor for the given HttpRequestMessage.