Compartilhar via


ODataRoutingConventions.CreateDefaultWithAttributeRouting Método

Definição

Sobrecargas

CreateDefaultWithAttributeRouting(String, IRouteBuilder)

Cria uma lista mutável das convenções de roteamento OData padrão com roteamento de atributo habilitado.

CreateDefaultWithAttributeRouting(String, IServiceProvider)
CreateDefaultWithAttributeRouting(String, HttpConfiguration)

Cria uma lista mutável das convenções de roteamento OData padrão com roteamento de atributo habilitado.

CreateDefaultWithAttributeRouting(String, IRouteBuilder)

Cria uma lista mutável das convenções de roteamento OData padrão com roteamento de atributo habilitado.

public static System.Collections.Generic.IList<Microsoft.AspNet.OData.Routing.Conventions.IODataRoutingConvention> CreateDefaultWithAttributeRouting (string routeName, Microsoft.AspNetCore.Routing.IRouteBuilder builder);
static member CreateDefaultWithAttributeRouting : string * Microsoft.AspNetCore.Routing.IRouteBuilder -> System.Collections.Generic.IList<Microsoft.AspNet.OData.Routing.Conventions.IODataRoutingConvention>
Public Shared Function CreateDefaultWithAttributeRouting (routeName As String, builder As IRouteBuilder) As IList(Of IODataRoutingConvention)

Parâmetros

routeName
String

O nome da rota.

builder
IRouteBuilder

O IRouteBuilder ao qual adicionar a rota.

Retornos

Uma lista mutável das convenções de roteamento OData padrão.

Aplica-se a

CreateDefaultWithAttributeRouting(String, IServiceProvider)

public static System.Collections.Generic.IList<Microsoft.AspNet.OData.Routing.Conventions.IODataRoutingConvention> CreateDefaultWithAttributeRouting (string routeName, IServiceProvider serviceProvider);
static member CreateDefaultWithAttributeRouting : string * IServiceProvider -> System.Collections.Generic.IList<Microsoft.AspNet.OData.Routing.Conventions.IODataRoutingConvention>
Public Shared Function CreateDefaultWithAttributeRouting (routeName As String, serviceProvider As IServiceProvider) As IList(Of IODataRoutingConvention)

Parâmetros

routeName
String
serviceProvider
IServiceProvider

Retornos

Aplica-se a

CreateDefaultWithAttributeRouting(String, HttpConfiguration)

Cria uma lista mutável das convenções de roteamento OData padrão com roteamento de atributo habilitado.

public static System.Collections.Generic.IList<Microsoft.AspNet.OData.Routing.Conventions.IODataRoutingConvention> CreateDefaultWithAttributeRouting (string routeName, System.Web.Http.HttpConfiguration configuration);
static member CreateDefaultWithAttributeRouting : string * System.Web.Http.HttpConfiguration -> System.Collections.Generic.IList<Microsoft.AspNet.OData.Routing.Conventions.IODataRoutingConvention>
Public Shared Function CreateDefaultWithAttributeRouting (routeName As String, configuration As HttpConfiguration) As IList(Of IODataRoutingConvention)

Parâmetros

routeName
String

O nome da rota.

configuration
System.Web.Http.HttpConfiguration

A configuração do servidor.

Retornos

Uma lista mutável das convenções de roteamento OData padrão.

Aplica-se a