Route Konstruktory
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
Route(IRouter, String, IInlineConstraintResolver) |
Tworzy nowe Route wystąpienie. |
Route(IRouter, String, RouteValueDictionary, IDictionary<String,Object>, RouteValueDictionary, IInlineConstraintResolver) |
Tworzy nowe Route wystąpienie. |
Route(IRouter, String, String, RouteValueDictionary, IDictionary<String,Object>, RouteValueDictionary, IInlineConstraintResolver) |
Tworzy nowe Route wystąpienie. |
Route(IRouter, String, IInlineConstraintResolver)
- Źródło:
- Route.cs
- Źródło:
- Route.cs
- Źródło:
- Route.cs
Tworzy nowe Route wystąpienie.
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)
Parametry
- routeTemplate
- String
Reprezentacja ciągu szablonu trasy.
- inlineConstraintResolver
- IInlineConstraintResolver
Element IInlineConstraintResolver używany do rozwiązywania ograniczeń wbudowanych.
Dotyczy
Route(IRouter, String, RouteValueDictionary, IDictionary<String,Object>, RouteValueDictionary, IInlineConstraintResolver)
- Źródło:
- Route.cs
- Źródło:
- Route.cs
- Źródło:
- Route.cs
Tworzy nowe Route wystąpienie.
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)
Parametry
- routeTemplate
- String
Reprezentacja ciągu szablonu trasy.
- defaults
- RouteValueDictionary
Wartości domyślne parametrów w trasie.
- constraints
- IDictionary<String,Object>
Ograniczenia trasy.
- dataTokens
- RouteValueDictionary
Tokeny danych dla trasy.
- inlineConstraintResolver
- IInlineConstraintResolver
Element IInlineConstraintResolver używany do rozwiązywania ograniczeń wbudowanych.
Dotyczy
Route(IRouter, String, String, RouteValueDictionary, IDictionary<String,Object>, RouteValueDictionary, IInlineConstraintResolver)
- Źródło:
- Route.cs
- Źródło:
- Route.cs
- Źródło:
- Route.cs
Tworzy nowe Route wystąpienie.
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)
Parametry
- routeName
- String
Nazwa trasy.
- routeTemplate
- String
Reprezentacja ciągu szablonu trasy.
- defaults
- RouteValueDictionary
Wartości domyślne parametrów w trasie.
- constraints
- IDictionary<String,Object>
Ograniczenia trasy.
- dataTokens
- RouteValueDictionary
Tokeny danych dla trasy.
- inlineConstraintResolver
- IInlineConstraintResolver
Element IInlineConstraintResolver używany do rozwiązywania ograniczeń wbudowanych.