Freigeben über


Route Konstruktoren

Definition

Überlädt

Route(IRouter, String, IInlineConstraintResolver)

Erstellt eine neue Route-Instanz.

Route(IRouter, String, RouteValueDictionary, IDictionary<String,Object>, RouteValueDictionary, IInlineConstraintResolver)

Erstellt eine neue Route-Instanz.

Route(IRouter, String, String, RouteValueDictionary, IDictionary<String,Object>, RouteValueDictionary, IInlineConstraintResolver)

Erstellt eine neue Route-Instanz.

Route(IRouter, String, IInlineConstraintResolver)

Quelle:
Route.cs
Quelle:
Route.cs
Quelle:
Route.cs

Erstellt eine neue Route-Instanz.

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)

Parameter

target
IRouter

Ein IRouter instance, der der Komponente zugeordnet ist.

routeTemplate
String

Eine Zeichenfolgendarstellung der Routenvorlage.

inlineConstraintResolver
IInlineConstraintResolver

Ein IInlineConstraintResolver , der zum Auflösen von Inlineeinschränkungen verwendet wird.

Gilt für:

Route(IRouter, String, RouteValueDictionary, IDictionary<String,Object>, RouteValueDictionary, IInlineConstraintResolver)

Quelle:
Route.cs
Quelle:
Route.cs
Quelle:
Route.cs

Erstellt eine neue Route-Instanz.

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)

Parameter

target
IRouter

Ein IRouter instance, der der Komponente zugeordnet ist.

routeTemplate
String

Eine Zeichenfolgendarstellung der Routenvorlage.

defaults
RouteValueDictionary

Die Standardwerte für Parameter in der Route.

constraints
IDictionary<String,Object>

Die Einschränkungen für die Route.

dataTokens
RouteValueDictionary

Die Datentoken für die Route.

inlineConstraintResolver
IInlineConstraintResolver

Ein IInlineConstraintResolver , der zum Auflösen von Inlineeinschränkungen verwendet wird.

Gilt für:

Route(IRouter, String, String, RouteValueDictionary, IDictionary<String,Object>, RouteValueDictionary, IInlineConstraintResolver)

Quelle:
Route.cs
Quelle:
Route.cs
Quelle:
Route.cs

Erstellt eine neue Route-Instanz.

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)

Parameter

target
IRouter

Ein IRouter instance, der der Komponente zugeordnet ist.

routeName
String

Der Name der Route.

routeTemplate
String

Eine Zeichenfolgendarstellung der Routenvorlage.

defaults
RouteValueDictionary

Die Standardwerte für Parameter in der Route.

constraints
IDictionary<String,Object>

Die Einschränkungen für die Route.

dataTokens
RouteValueDictionary

Die Datentoken für die Route.

inlineConstraintResolver
IInlineConstraintResolver

Ein IInlineConstraintResolver , der zum Auflösen von Inlineeinschränkungen verwendet wird.

Gilt für: