Compartir a través de


RouteTemplate Constructores

Definición

Sobrecargas

RouteTemplate(RoutePattern)

Construye una nueva RouteTemplate instancia dada other.

RouteTemplate(String, List<TemplateSegment>)

Construye una nueva RouteTemplate instancia dada la template cadena y una lista de segments. Calcula los parámetros de la plantilla de ruta.

RouteTemplate(RoutePattern)

Source:
RouteTemplate.cs
Source:
RouteTemplate.cs

Construye una nueva RouteTemplate instancia dada 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)

Parámetros

other
RoutePattern

Instancia de RoutePattern.

Se aplica a

RouteTemplate(String, List<TemplateSegment>)

Source:
RouteTemplate.cs
Source:
RouteTemplate.cs
Source:
RouteTemplate.cs

Construye una nueva RouteTemplate instancia dada la template cadena y una lista de segments. Calcula los parámetros de la plantilla de ruta.

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))

Parámetros

template
String

Representación de cadena de la plantilla de ruta.

segments
List<TemplateSegment>

Lista de elementos TemplateSegment.

Se aplica a