WebApiCompatShimRouteBuilderExtensions.MapWebApiRoute Метод

Определение

Перегрузки

MapWebApiRoute(IRouteBuilder, String, String)
MapWebApiRoute(IRouteBuilder, String, String, Object)
MapWebApiRoute(IRouteBuilder, String, String, Object, Object)
MapWebApiRoute(IRouteBuilder, String, String, Object, Object, Object)

MapWebApiRoute(IRouteBuilder, String, String)

Исходный код:
WebApiCompatShimRouteBuilderExtensions.cs
Исходный код:
WebApiCompatShimRouteBuilderExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Routing::IRouteBuilder ^ MapWebApiRoute(Microsoft::AspNetCore::Routing::IRouteBuilder ^ routeCollectionBuilder, System::String ^ name, System::String ^ template);
public static Microsoft.AspNetCore.Routing.IRouteBuilder MapWebApiRoute (this Microsoft.AspNetCore.Routing.IRouteBuilder routeCollectionBuilder, string name, string template);
static member MapWebApiRoute : Microsoft.AspNetCore.Routing.IRouteBuilder * string * string -> Microsoft.AspNetCore.Routing.IRouteBuilder
<Extension()>
Public Function MapWebApiRoute (routeCollectionBuilder As IRouteBuilder, name As String, template As String) As IRouteBuilder

Параметры

routeCollectionBuilder
IRouteBuilder
name
String
template
String

Возвращаемое значение

Применяется к

MapWebApiRoute(IRouteBuilder, String, String, Object)

Исходный код:
WebApiCompatShimRouteBuilderExtensions.cs
Исходный код:
WebApiCompatShimRouteBuilderExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Routing::IRouteBuilder ^ MapWebApiRoute(Microsoft::AspNetCore::Routing::IRouteBuilder ^ routeCollectionBuilder, System::String ^ name, System::String ^ template, System::Object ^ defaults);
public static Microsoft.AspNetCore.Routing.IRouteBuilder MapWebApiRoute (this Microsoft.AspNetCore.Routing.IRouteBuilder routeCollectionBuilder, string name, string template, object defaults);
static member MapWebApiRoute : Microsoft.AspNetCore.Routing.IRouteBuilder * string * string * obj -> Microsoft.AspNetCore.Routing.IRouteBuilder
<Extension()>
Public Function MapWebApiRoute (routeCollectionBuilder As IRouteBuilder, name As String, template As String, defaults As Object) As IRouteBuilder

Параметры

routeCollectionBuilder
IRouteBuilder
name
String
template
String
defaults
Object

Возвращаемое значение

Применяется к

MapWebApiRoute(IRouteBuilder, String, String, Object, Object)

Исходный код:
WebApiCompatShimRouteBuilderExtensions.cs
Исходный код:
WebApiCompatShimRouteBuilderExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Routing::IRouteBuilder ^ MapWebApiRoute(Microsoft::AspNetCore::Routing::IRouteBuilder ^ routeCollectionBuilder, System::String ^ name, System::String ^ template, System::Object ^ defaults, System::Object ^ constraints);
public static Microsoft.AspNetCore.Routing.IRouteBuilder MapWebApiRoute (this Microsoft.AspNetCore.Routing.IRouteBuilder routeCollectionBuilder, string name, string template, object defaults, object constraints);
static member MapWebApiRoute : Microsoft.AspNetCore.Routing.IRouteBuilder * string * string * obj * obj -> Microsoft.AspNetCore.Routing.IRouteBuilder
<Extension()>
Public Function MapWebApiRoute (routeCollectionBuilder As IRouteBuilder, name As String, template As String, defaults As Object, constraints As Object) As IRouteBuilder

Параметры

routeCollectionBuilder
IRouteBuilder
name
String
template
String
defaults
Object
constraints
Object

Возвращаемое значение

Применяется к

MapWebApiRoute(IRouteBuilder, String, String, Object, Object, Object)

Исходный код:
WebApiCompatShimRouteBuilderExtensions.cs
Исходный код:
WebApiCompatShimRouteBuilderExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Routing::IRouteBuilder ^ MapWebApiRoute(Microsoft::AspNetCore::Routing::IRouteBuilder ^ routeCollectionBuilder, System::String ^ name, System::String ^ template, System::Object ^ defaults, System::Object ^ constraints, System::Object ^ dataTokens);
public static Microsoft.AspNetCore.Routing.IRouteBuilder MapWebApiRoute (this Microsoft.AspNetCore.Routing.IRouteBuilder routeCollectionBuilder, string name, string template, object defaults, object constraints, object dataTokens);
static member MapWebApiRoute : Microsoft.AspNetCore.Routing.IRouteBuilder * string * string * obj * obj * obj -> Microsoft.AspNetCore.Routing.IRouteBuilder
<Extension()>
Public Function MapWebApiRoute (routeCollectionBuilder As IRouteBuilder, name As String, template As String, defaults As Object, constraints As Object, dataTokens As Object) As IRouteBuilder

Параметры

routeCollectionBuilder
IRouteBuilder
name
String
template
String
defaults
Object
constraints
Object
dataTokens
Object

Возвращаемое значение

Применяется к