RouteBase Konstruktor

Definice

Vytvoří novou instanci sloupce RouteBase.

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)

Parametry

template
String

Šablona trasy.

name
String

Název trasy.

constraintResolver
IInlineConstraintResolver

Slouží IInlineConstraintResolver k řešení vložených omezení.

defaults
RouteValueDictionary

Výchozí hodnoty parametrů v trase.

constraints
IDictionary<String,Object>

Omezení trasy.

dataTokens
RouteValueDictionary

Tokeny dat pro trasu.

Platí pro