Compartilhar via


RoutePatternFactory.Segment Método

Definição

Sobrecargas

Segment(IEnumerable<RoutePatternPart>)

Cria um RoutePatternPathSegment da coleção fornecida de partes.

Segment(RoutePatternPart[])

Cria um RoutePatternPathSegment da coleção fornecida de partes.

Segment(IEnumerable<RoutePatternPart>)

Origem:
RoutePatternFactory.cs
Origem:
RoutePatternFactory.cs

Cria um RoutePatternPathSegment da coleção fornecida de partes.

public:
 static Microsoft::AspNetCore::Routing::Patterns::RoutePatternPathSegment ^ Segment(System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Routing::Patterns::RoutePatternPart ^> ^ parts);
public static Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment Segment (System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Routing.Patterns.RoutePatternPart> parts);
static member Segment : seq<Microsoft.AspNetCore.Routing.Patterns.RoutePatternPart> -> Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment
Public Shared Function Segment (parts As IEnumerable(Of RoutePatternPart)) As RoutePatternPathSegment

Parâmetros

parts
IEnumerable<RoutePatternPart>

A coleção de partes.

Retornos

O RoutePatternPathSegment.

Aplica-se a

Segment(RoutePatternPart[])

Origem:
RoutePatternFactory.cs
Origem:
RoutePatternFactory.cs

Cria um RoutePatternPathSegment da coleção fornecida de partes.

public:
 static Microsoft::AspNetCore::Routing::Patterns::RoutePatternPathSegment ^ Segment(... cli::array <Microsoft::AspNetCore::Routing::Patterns::RoutePatternPart ^> ^ parts);
public static Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment Segment (params Microsoft.AspNetCore.Routing.Patterns.RoutePatternPart[] parts);
static member Segment : Microsoft.AspNetCore.Routing.Patterns.RoutePatternPart[] -> Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment
Public Shared Function Segment (ParamArray parts As RoutePatternPart()) As RoutePatternPathSegment

Parâmetros

parts
RoutePatternPart[]

A coleção de partes.

Retornos

O RoutePatternPathSegment.

Aplica-se a