Condividi tramite


RoutePatternFactory.Segment Metodo

Definizione

Overload

Segment(IEnumerable<RoutePatternPart>)

Crea un RoutePatternPathSegment oggetto dalla raccolta di parti fornita.

Segment(RoutePatternPart[])

Crea un RoutePatternPathSegment oggetto dalla raccolta di parti fornita.

Segment(IEnumerable<RoutePatternPart>)

Origine:
RoutePatternFactory.cs
Origine:
RoutePatternFactory.cs

Crea un RoutePatternPathSegment oggetto dalla raccolta di parti fornita.

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

Parametri

parts
IEnumerable<RoutePatternPart>

Raccolta di parti.

Restituisce

Oggetto RoutePatternPathSegment.

Si applica a

Segment(RoutePatternPart[])

Origine:
RoutePatternFactory.cs
Origine:
RoutePatternFactory.cs

Crea un RoutePatternPathSegment oggetto dalla raccolta di parti fornita.

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

Parametri

parts
RoutePatternPart[]

Raccolta di parti.

Restituisce

Oggetto RoutePatternPathSegment.

Si applica a