RouteBase Konstruktor

Definition

Erstellt eine neue RouteBase-Instanz.

public:
 RouteBase(System::String ^ template, System::String ^ name, Microsoft::AspNetCore::Routing::IInlineConstraintResolver ^ constraintResolver, Microsoft::AspNetCore::Routing::RouteValueDictionary ^ defaults, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ constraints, Microsoft::AspNetCore::Routing::RouteValueDictionary ^ dataTokens);
public RouteBase (string template, string name, Microsoft.AspNetCore.Routing.IInlineConstraintResolver constraintResolver, Microsoft.AspNetCore.Routing.RouteValueDictionary defaults, System.Collections.Generic.IDictionary<string,object> constraints, Microsoft.AspNetCore.Routing.RouteValueDictionary dataTokens);
public RouteBase (string? template, string? name, Microsoft.AspNetCore.Routing.IInlineConstraintResolver constraintResolver, Microsoft.AspNetCore.Routing.RouteValueDictionary? defaults, System.Collections.Generic.IDictionary<string,object>? constraints, Microsoft.AspNetCore.Routing.RouteValueDictionary? dataTokens);
new Microsoft.AspNetCore.Routing.RouteBase : string * string * Microsoft.AspNetCore.Routing.IInlineConstraintResolver * Microsoft.AspNetCore.Routing.RouteValueDictionary * System.Collections.Generic.IDictionary<string, obj> * Microsoft.AspNetCore.Routing.RouteValueDictionary -> Microsoft.AspNetCore.Routing.RouteBase
Public Sub New (template As String, name As String, constraintResolver As IInlineConstraintResolver, defaults As RouteValueDictionary, constraints As IDictionary(Of String, Object), dataTokens As RouteValueDictionary)

Parameter

template
String

Die Routenvorlage.

name
String

Der Name der Route.

constraintResolver
IInlineConstraintResolver

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

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.

Gilt für: