Share via


ODataActionSelector Class

Definition

An implementation of System.Web.Http.Controllers.IHttpActionSelector that uses the server's OData routing conventions to select an action for OData requests.

public class ODataActionSelector : System.Web.Http.Controllers.IHttpActionSelector
public class ODataActionSelector : Microsoft.AspNetCore.Mvc.Infrastructure.IActionSelector
type ODataActionSelector = class
    interface IHttpActionSelector
type ODataActionSelector = class
    interface IActionSelector
Public Class ODataActionSelector
Implements IHttpActionSelector
Public Class ODataActionSelector
Implements IActionSelector
Inheritance
ODataActionSelector
Implements
System.Web.Http.Controllers.IHttpActionSelector IActionSelector

Constructors

ODataActionSelector(IActionDescriptorCollectionProvider, ActionConstraintCache, ILoggerFactory, IModelBinderFactory, IModelMetadataProvider)
ODataActionSelector(IHttpActionSelector)

Initializes a new instance of the ODataActionSelector class.

Methods

GetActionMapping(HttpControllerDescriptor)

Returns a map, keyed by action string, of all System.Web.Http.Controllers.HttpActionDescriptor that the selector can select. This is primarily called by System.Web.Http.Description.IApiExplorer to discover all the possible actions in the controller.

SelectAction(HttpControllerContext)

Selects an action for the System.Web.Http.Controllers.ApiControllerActionSelector.

SelectBestCandidate(RouteContext, IReadOnlyList<ActionDescriptor>)

Selects the best ActionDescriptor candidate from candidates for the current request associated with context.

SelectCandidates(RouteContext)

Selects a set of ActionDescriptor candidates for the current request associated with context.

Applies to