Compartilhar via


OperationImportRoutingConvention.SelectAction Método

Definição

Sobrecargas

SelectAction(ODataPath, HttpControllerContext, ILookup<String,HttpActionDescriptor>)

Seleciona a ação para as solicitações OData.

SelectAction(RouteContext, SelectControllerResult, IEnumerable<ControllerActionDescriptor>)

SelectAction(ODataPath, HttpControllerContext, ILookup<String,HttpActionDescriptor>)

Seleciona a ação para as solicitações OData.

public override string SelectAction (Microsoft.AspNet.OData.Routing.ODataPath odataPath, System.Web.Http.Controllers.HttpControllerContext controllerContext, System.Linq.ILookup<string,System.Web.Http.Controllers.HttpActionDescriptor> actionMap);
override this.SelectAction : Microsoft.AspNet.OData.Routing.ODataPath * System.Web.Http.Controllers.HttpControllerContext * System.Linq.ILookup<string, System.Web.Http.Controllers.HttpActionDescriptor> -> string
Public Overrides Function SelectAction (odataPath As ODataPath, controllerContext As HttpControllerContext, actionMap As ILookup(Of String, HttpActionDescriptor)) As String

Parâmetros

odataPath
ODataPath

O caminho OData.

controllerContext
System.Web.Http.Controllers.HttpControllerContext

O contexto do controlador.

actionMap
ILookup<String,System.Web.Http.Controllers.HttpActionDescriptor>

O mapa da ação.

Retornos

null se a solicitação não for manipulada por esta convenção; caso contrário, o nome da ação selecionada

Comentários

Essa assinatura usa tipos específicos de AspNet.

Aplica-se a

SelectAction(RouteContext, SelectControllerResult, IEnumerable<ControllerActionDescriptor>)

public override string SelectAction (Microsoft.AspNetCore.Routing.RouteContext routeContext, Microsoft.AspNet.OData.Routing.Conventions.SelectControllerResult controllerResult, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor> actionDescriptors);
override this.SelectAction : Microsoft.AspNetCore.Routing.RouteContext * Microsoft.AspNet.OData.Routing.Conventions.SelectControllerResult * seq<Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor> -> string
Public Overrides Function SelectAction (routeContext As RouteContext, controllerResult As SelectControllerResult, actionDescriptors As IEnumerable(Of ControllerActionDescriptor)) As String

Parâmetros

routeContext
RouteContext
controllerResult
SelectControllerResult

Retornos

Aplica-se a