Condividi tramite


RouteTemplate Costruttori

Definizione

Overload

RouteTemplate(RoutePattern)

Costruisce una nuova RouteTemplate istanza specificata other.

RouteTemplate(String, List<TemplateSegment>)

Costruisce una nuova RouteTemplate istanza data la template stringa e un elenco di segments. Calcola i parametri nel modello di route.

RouteTemplate(RoutePattern)

Origine:
RouteTemplate.cs
Origine:
RouteTemplate.cs

Costruisce una nuova RouteTemplate istanza specificata other.

public:
 RouteTemplate(Microsoft::AspNetCore::Routing::Patterns::RoutePattern ^ other);
public RouteTemplate (Microsoft.AspNetCore.Routing.Patterns.RoutePattern other);
new Microsoft.AspNetCore.Routing.Template.RouteTemplate : Microsoft.AspNetCore.Routing.Patterns.RoutePattern -> Microsoft.AspNetCore.Routing.Template.RouteTemplate
Public Sub New (other As RoutePattern)

Parametri

other
RoutePattern

Istanza di RoutePattern.

Si applica a

RouteTemplate(String, List<TemplateSegment>)

Origine:
RouteTemplate.cs
Origine:
RouteTemplate.cs
Origine:
RouteTemplate.cs

Costruisce una nuova RouteTemplate istanza data la template stringa e un elenco di segments. Calcola i parametri nel modello di route.

public:
 RouteTemplate(System::String ^ template, System::Collections::Generic::List<Microsoft::AspNetCore::Routing::Template::TemplateSegment ^> ^ segments);
public RouteTemplate (string template, System.Collections.Generic.List<Microsoft.AspNetCore.Routing.Template.TemplateSegment> segments);
new Microsoft.AspNetCore.Routing.Template.RouteTemplate : string * System.Collections.Generic.List<Microsoft.AspNetCore.Routing.Template.TemplateSegment> -> Microsoft.AspNetCore.Routing.Template.RouteTemplate
Public Sub New (template As String, segments As List(Of TemplateSegment))

Parametri

template
String

Rappresentazione stringa del modello di route.

segments
List<TemplateSegment>

Elenco di TemplateSegment.

Si applica a