Aracılığıyla paylaş


RoutePatternFactory.Segment Yöntem

Tanım

Aşırı Yüklemeler

Segment(IEnumerable<RoutePatternPart>)

Sağlanan parça koleksiyonundan bir RoutePatternPathSegment oluşturur.

Segment(RoutePatternPart[])

Sağlanan parça koleksiyonundan bir RoutePatternPathSegment oluşturur.

Segment(IEnumerable<RoutePatternPart>)

Kaynak:
RoutePatternFactory.cs
Kaynak:
RoutePatternFactory.cs

Sağlanan parça koleksiyonundan bir RoutePatternPathSegment oluşturur.

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

Parametreler

parts
IEnumerable<RoutePatternPart>

Parça koleksiyonu.

Döndürülenler

RoutePatternPathSegment.

Şunlara uygulanır

Segment(RoutePatternPart[])

Kaynak:
RoutePatternFactory.cs
Kaynak:
RoutePatternFactory.cs

Sağlanan parça koleksiyonundan bir RoutePatternPathSegment oluşturur.

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

Parametreler

parts
RoutePatternPart[]

Parça koleksiyonu.

Döndürülenler

RoutePatternPathSegment.

Şunlara uygulanır