Route コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
Route(IRouter, String, IInlineConstraintResolver)
- ソース:
- Route.cs
- ソース:
- Route.cs
- ソース:
- Route.cs
新しい Route インスタンスを作成します。
public:
Route(Microsoft::AspNetCore::Routing::IRouter ^ target, System::String ^ routeTemplate, Microsoft::AspNetCore::Routing::IInlineConstraintResolver ^ inlineConstraintResolver);
public Route (Microsoft.AspNetCore.Routing.IRouter target, string routeTemplate, Microsoft.AspNetCore.Routing.IInlineConstraintResolver inlineConstraintResolver);
new Microsoft.AspNetCore.Routing.Route : Microsoft.AspNetCore.Routing.IRouter * string * Microsoft.AspNetCore.Routing.IInlineConstraintResolver -> Microsoft.AspNetCore.Routing.Route
Public Sub New (target As IRouter, routeTemplate As String, inlineConstraintResolver As IInlineConstraintResolver)
パラメーター
- routeTemplate
- String
ルート テンプレートの文字列表現。
- inlineConstraintResolver
- IInlineConstraintResolver
IInlineConstraintResolverインライン制約の解決に使用される 。
適用対象
Route(IRouter, String, RouteValueDictionary, IDictionary<String,Object>, RouteValueDictionary, IInlineConstraintResolver)
- ソース:
- Route.cs
- ソース:
- Route.cs
- ソース:
- Route.cs
新しい Route インスタンスを作成します。
public:
Route(Microsoft::AspNetCore::Routing::IRouter ^ target, System::String ^ routeTemplate, Microsoft::AspNetCore::Routing::RouteValueDictionary ^ defaults, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ constraints, Microsoft::AspNetCore::Routing::RouteValueDictionary ^ dataTokens, Microsoft::AspNetCore::Routing::IInlineConstraintResolver ^ inlineConstraintResolver);
public Route (Microsoft.AspNetCore.Routing.IRouter target, string routeTemplate, Microsoft.AspNetCore.Routing.RouteValueDictionary defaults, System.Collections.Generic.IDictionary<string,object> constraints, Microsoft.AspNetCore.Routing.RouteValueDictionary dataTokens, Microsoft.AspNetCore.Routing.IInlineConstraintResolver inlineConstraintResolver);
public Route (Microsoft.AspNetCore.Routing.IRouter target, string routeTemplate, Microsoft.AspNetCore.Routing.RouteValueDictionary? defaults, System.Collections.Generic.IDictionary<string,object>? constraints, Microsoft.AspNetCore.Routing.RouteValueDictionary? dataTokens, Microsoft.AspNetCore.Routing.IInlineConstraintResolver inlineConstraintResolver);
new Microsoft.AspNetCore.Routing.Route : Microsoft.AspNetCore.Routing.IRouter * string * Microsoft.AspNetCore.Routing.RouteValueDictionary * System.Collections.Generic.IDictionary<string, obj> * Microsoft.AspNetCore.Routing.RouteValueDictionary * Microsoft.AspNetCore.Routing.IInlineConstraintResolver -> Microsoft.AspNetCore.Routing.Route
Public Sub New (target As IRouter, routeTemplate As String, defaults As RouteValueDictionary, constraints As IDictionary(Of String, Object), dataTokens As RouteValueDictionary, inlineConstraintResolver As IInlineConstraintResolver)
パラメーター
- routeTemplate
- String
ルート テンプレートの文字列表現。
- defaults
- RouteValueDictionary
ルート内のパラメーターの既定値。
- constraints
- IDictionary<String,Object>
ルートの制約。
- dataTokens
- RouteValueDictionary
ルートのデータ トークン。
- inlineConstraintResolver
- IInlineConstraintResolver
IInlineConstraintResolverインライン制約の解決に使用される 。
適用対象
Route(IRouter, String, String, RouteValueDictionary, IDictionary<String,Object>, RouteValueDictionary, IInlineConstraintResolver)
- ソース:
- Route.cs
- ソース:
- Route.cs
- ソース:
- Route.cs
新しい Route インスタンスを作成します。
public:
Route(Microsoft::AspNetCore::Routing::IRouter ^ target, System::String ^ routeName, System::String ^ routeTemplate, Microsoft::AspNetCore::Routing::RouteValueDictionary ^ defaults, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ constraints, Microsoft::AspNetCore::Routing::RouteValueDictionary ^ dataTokens, Microsoft::AspNetCore::Routing::IInlineConstraintResolver ^ inlineConstraintResolver);
public Route (Microsoft.AspNetCore.Routing.IRouter target, string routeName, string routeTemplate, Microsoft.AspNetCore.Routing.RouteValueDictionary defaults, System.Collections.Generic.IDictionary<string,object> constraints, Microsoft.AspNetCore.Routing.RouteValueDictionary dataTokens, Microsoft.AspNetCore.Routing.IInlineConstraintResolver inlineConstraintResolver);
public Route (Microsoft.AspNetCore.Routing.IRouter target, string? routeName, string? routeTemplate, Microsoft.AspNetCore.Routing.RouteValueDictionary? defaults, System.Collections.Generic.IDictionary<string,object>? constraints, Microsoft.AspNetCore.Routing.RouteValueDictionary? dataTokens, Microsoft.AspNetCore.Routing.IInlineConstraintResolver inlineConstraintResolver);
new Microsoft.AspNetCore.Routing.Route : Microsoft.AspNetCore.Routing.IRouter * string * string * Microsoft.AspNetCore.Routing.RouteValueDictionary * System.Collections.Generic.IDictionary<string, obj> * Microsoft.AspNetCore.Routing.RouteValueDictionary * Microsoft.AspNetCore.Routing.IInlineConstraintResolver -> Microsoft.AspNetCore.Routing.Route
Public Sub New (target As IRouter, routeName As String, routeTemplate As String, defaults As RouteValueDictionary, constraints As IDictionary(Of String, Object), dataTokens As RouteValueDictionary, inlineConstraintResolver As IInlineConstraintResolver)
パラメーター
- routeName
- String
ルートの名前。
- routeTemplate
- String
ルート テンプレートの文字列表現。
- defaults
- RouteValueDictionary
ルート内のパラメーターの既定値。
- constraints
- IDictionary<String,Object>
ルートの制約。
- dataTokens
- RouteValueDictionary
ルートのデータ トークン。
- inlineConstraintResolver
- IInlineConstraintResolver
IInlineConstraintResolverインライン制約の解決に使用される 。