다음을 통해 공유


ODataRoutingConventions.CreateDefaultWithAttributeRouting 메서드

정의

오버로드

CreateDefaultWithAttributeRouting(String, IRouteBuilder)

특성 라우팅을 사용하는 기본 OData 라우팅 규칙의 변경할 수 있는 목록을 만듭니다.

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

특성 라우팅을 사용하는 기본 OData 라우팅 규칙의 변경할 수 있는 목록을 만듭니다.

CreateDefaultWithAttributeRouting(String, IRouteBuilder)

특성 라우팅을 사용하는 기본 OData 라우팅 규칙의 변경할 수 있는 목록을 만듭니다.

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)

매개 변수

routeName
String

경로의 이름입니다.

builder
IRouteBuilder

IRouteBuilder 경로를 추가할 입니다.

반환

기본 OData 라우팅 규칙의 변경할 수 있는 목록입니다.

적용 대상

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)

매개 변수

routeName
String
serviceProvider
IServiceProvider

반환

적용 대상

CreateDefaultWithAttributeRouting(String, HttpConfiguration)

특성 라우팅을 사용하는 기본 OData 라우팅 규칙의 변경할 수 있는 목록을 만듭니다.

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)

매개 변수

routeName
String

경로의 이름입니다.

configuration
System.Web.Http.HttpConfiguration

서버 구성입니다.

반환

기본 OData 라우팅 규칙의 변경할 수 있는 목록입니다.

적용 대상