Partager via


RoutePatternFactory.Segment Méthode

Définition

Surcharges

Segment(IEnumerable<RoutePatternPart>)

Crée un RoutePatternPathSegment à partir de la collection de composants fournie.

Segment(RoutePatternPart[])

Crée un RoutePatternPathSegment à partir de la collection de composants fournie.

Segment(IEnumerable<RoutePatternPart>)

Source:
RoutePatternFactory.cs
Source:
RoutePatternFactory.cs

Crée un RoutePatternPathSegment à partir de la collection de composants fournie.

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

Paramètres

parts
IEnumerable<RoutePatternPart>

Collection de composants.

Retours

L’RoutePatternPathSegmentopérateur

S’applique à

Segment(RoutePatternPart[])

Source:
RoutePatternFactory.cs
Source:
RoutePatternFactory.cs

Crée un RoutePatternPathSegment à partir de la collection de composants fournie.

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

Paramètres

parts
RoutePatternPart[]

Collection de composants.

Retours

L’RoutePatternPathSegmentopérateur

S’applique à