次の方法で共有


RoutePatternFactory.Pattern メソッド

定義

オーバーロード

Pattern(Object, Object, RoutePatternPathSegment[])

RoutePattern指定された既定値とパラメーター ポリシーと共に、セグメントのコレクションから を作成します。

Pattern(RoutePatternPathSegment[])

セグメントのコレクションから の RoutePattern 新しいインスタンスを作成します。

Pattern(IEnumerable<RoutePatternPathSegment>)

セグメントのコレクションから の RoutePattern 新しいインスタンスを作成します。

Pattern(String, RoutePatternPathSegment[])

セグメントのコレクションから の RoutePattern 新しいインスタンスを作成します。

Pattern(String, IEnumerable<RoutePatternPathSegment>)

セグメントのコレクションから の RoutePattern 新しいインスタンスを作成します。

Pattern(RouteValueDictionary, RouteValueDictionary, RoutePatternPathSegment[])

RoutePattern指定された既定値とパラメーター ポリシーと共に、セグメントのコレクションから を作成します。

Pattern(RouteValueDictionary, RouteValueDictionary, IEnumerable<RoutePatternPathSegment>)

RoutePattern指定された既定値とパラメーター ポリシーと共に、セグメントのコレクションから を作成します。

Pattern(Object, Object, IEnumerable<RoutePatternPathSegment>)

RoutePattern指定された既定値とパラメーター ポリシーと共に、セグメントのコレクションから を作成します。

Pattern(String, RouteValueDictionary, RouteValueDictionary, RoutePatternPathSegment[])

RoutePattern指定された既定値とパラメーター ポリシーと共に、セグメントのコレクションから を作成します。

Pattern(String, RouteValueDictionary, RouteValueDictionary, IEnumerable<RoutePatternPathSegment>)

RoutePattern指定された既定値とパラメーター ポリシーと共に、セグメントのコレクションから を作成します。

Pattern(String, Object, Object, RoutePatternPathSegment[])

RoutePattern指定された既定値とパラメーター ポリシーと共に、セグメントのコレクションから を作成します。

Pattern(String, Object, Object, IEnumerable<RoutePatternPathSegment>)

RoutePattern指定された既定値とパラメーター ポリシーと共に、セグメントのコレクションから を作成します。

Pattern(Object, Object, RoutePatternPathSegment[])

ソース:
RoutePatternFactory.cs

RoutePattern指定された既定値とパラメーター ポリシーと共に、セグメントのコレクションから を作成します。

public:
 static Microsoft::AspNetCore::Routing::Patterns::RoutePattern ^ Pattern(System::Object ^ defaults, System::Object ^ parameterPolicies, ... cli::array <Microsoft::AspNetCore::Routing::Patterns::RoutePatternPathSegment ^> ^ segments);
public static Microsoft.AspNetCore.Routing.Patterns.RoutePattern Pattern (object defaults, object parameterPolicies, params Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment[] segments);
public static Microsoft.AspNetCore.Routing.Patterns.RoutePattern Pattern (object? defaults, object? parameterPolicies, params Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment[] segments);
static member Pattern : obj * obj * Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment[] -> Microsoft.AspNetCore.Routing.Patterns.RoutePattern
Public Shared Function Pattern (defaults As Object, parameterPolicies As Object, ParamArray segments As RoutePatternPathSegment()) As RoutePattern

パラメーター

defaults
Object

ルート パターンに関連付けられている追加の既定値。 null も指定できます。 指定されたオブジェクトは、 を使用 RouteValueDictionary してキーと値のペアに変換され、ルート パターンにマージされます。

parameterPolicies
Object

ルート パターンに関連付けられている追加のパラメーター ポリシー。 null も指定できます。 指定されたオブジェクトは、 を使用 RouteValueDictionary してキーと値のペアに変換され、ルート パターンにマージされます。 値としてコレクションを指定することで、キーに複数のポリシーを指定できます。

segments
RoutePatternPathSegment[]

セグメントのコレクション。

戻り値

RoutePattern

適用対象

Pattern(RoutePatternPathSegment[])

ソース:
RoutePatternFactory.cs

セグメントのコレクションから の RoutePattern 新しいインスタンスを作成します。

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

パラメーター

segments
RoutePatternPathSegment[]

セグメントのコレクション。

戻り値

RoutePattern

適用対象

Pattern(IEnumerable<RoutePatternPathSegment>)

ソース:
RoutePatternFactory.cs

セグメントのコレクションから の RoutePattern 新しいインスタンスを作成します。

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

パラメーター

segments
IEnumerable<RoutePatternPathSegment>

セグメントのコレクション。

戻り値

RoutePattern

適用対象

Pattern(String, RoutePatternPathSegment[])

ソース:
RoutePatternFactory.cs

セグメントのコレクションから の RoutePattern 新しいインスタンスを作成します。

public:
 static Microsoft::AspNetCore::Routing::Patterns::RoutePattern ^ Pattern(System::String ^ rawText, ... cli::array <Microsoft::AspNetCore::Routing::Patterns::RoutePatternPathSegment ^> ^ segments);
public static Microsoft.AspNetCore.Routing.Patterns.RoutePattern Pattern (string rawText, params Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment[] segments);
static member Pattern : string * Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment[] -> Microsoft.AspNetCore.Routing.Patterns.RoutePattern
Public Shared Function Pattern (rawText As String, ParamArray segments As RoutePatternPathSegment()) As RoutePattern

パラメーター

rawText
String

ルート パターンに関連付ける生テキスト。 null も指定できます。

segments
RoutePatternPathSegment[]

セグメントのコレクション。

戻り値

RoutePattern

適用対象

Pattern(String, IEnumerable<RoutePatternPathSegment>)

ソース:
RoutePatternFactory.cs

セグメントのコレクションから の RoutePattern 新しいインスタンスを作成します。

public:
 static Microsoft::AspNetCore::Routing::Patterns::RoutePattern ^ Pattern(System::String ^ rawText, System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Routing::Patterns::RoutePatternPathSegment ^> ^ segments);
public static Microsoft.AspNetCore.Routing.Patterns.RoutePattern Pattern (string rawText, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment> segments);
public static Microsoft.AspNetCore.Routing.Patterns.RoutePattern Pattern (string? rawText, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment> segments);
static member Pattern : string * seq<Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment> -> Microsoft.AspNetCore.Routing.Patterns.RoutePattern
Public Shared Function Pattern (rawText As String, segments As IEnumerable(Of RoutePatternPathSegment)) As RoutePattern

パラメーター

rawText
String

ルート パターンに関連付ける生テキスト。 null も指定できます。

segments
IEnumerable<RoutePatternPathSegment>

セグメントのコレクション。

戻り値

RoutePattern

適用対象

Pattern(RouteValueDictionary, RouteValueDictionary, RoutePatternPathSegment[])

RoutePattern指定された既定値とパラメーター ポリシーと共に、セグメントのコレクションから を作成します。

public static Microsoft.AspNetCore.Routing.Patterns.RoutePattern Pattern (Microsoft.AspNetCore.Routing.RouteValueDictionary? defaults, Microsoft.AspNetCore.Routing.RouteValueDictionary? parameterPolicies, params Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment[] segments);
static member Pattern : Microsoft.AspNetCore.Routing.RouteValueDictionary * Microsoft.AspNetCore.Routing.RouteValueDictionary * Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment[] -> Microsoft.AspNetCore.Routing.Patterns.RoutePattern
Public Shared Function Pattern (defaults As RouteValueDictionary, parameterPolicies As RouteValueDictionary, ParamArray segments As RoutePatternPathSegment()) As RoutePattern

パラメーター

defaults
RouteValueDictionary

ルート パターンに関連付けられている追加の既定値。 null も指定できます。 指定されたオブジェクトは、 を使用 RouteValueDictionary してキーと値のペアに変換され、ルート パターンにマージされます。

parameterPolicies
RouteValueDictionary

ルート パターンに関連付けられている追加のパラメーター ポリシー。 null も指定できます。 指定されたオブジェクトは、 を使用 RouteValueDictionary してキーと値のペアに変換され、ルート パターンにマージされます。 値としてコレクションを指定することで、キーに複数のポリシーを指定できます。

segments
RoutePatternPathSegment[]

セグメントのコレクション。

戻り値

RoutePattern

適用対象

Pattern(RouteValueDictionary, RouteValueDictionary, IEnumerable<RoutePatternPathSegment>)

RoutePattern指定された既定値とパラメーター ポリシーと共に、セグメントのコレクションから を作成します。

public static Microsoft.AspNetCore.Routing.Patterns.RoutePattern Pattern (Microsoft.AspNetCore.Routing.RouteValueDictionary? defaults, Microsoft.AspNetCore.Routing.RouteValueDictionary? parameterPolicies, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment> segments);
static member Pattern : Microsoft.AspNetCore.Routing.RouteValueDictionary * Microsoft.AspNetCore.Routing.RouteValueDictionary * seq<Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment> -> Microsoft.AspNetCore.Routing.Patterns.RoutePattern
Public Shared Function Pattern (defaults As RouteValueDictionary, parameterPolicies As RouteValueDictionary, segments As IEnumerable(Of RoutePatternPathSegment)) As RoutePattern

パラメーター

defaults
RouteValueDictionary

ルート パターンに関連付けられている追加の既定値。 null も指定できます。 指定されたオブジェクトは、 を使用 RouteValueDictionary してキーと値のペアに変換され、ルート パターンにマージされます。

parameterPolicies
RouteValueDictionary

ルート パターンに関連付けられている追加のパラメーター ポリシー。 null も指定できます。 指定されたオブジェクトは、 を使用 RouteValueDictionary してキーと値のペアに変換され、ルート パターンにマージされます。 値としてコレクションを指定することで、キーに複数のポリシーを指定できます。

segments
IEnumerable<RoutePatternPathSegment>

セグメントのコレクション。

戻り値

RoutePattern

適用対象

Pattern(Object, Object, IEnumerable<RoutePatternPathSegment>)

ソース:
RoutePatternFactory.cs

RoutePattern指定された既定値とパラメーター ポリシーと共に、セグメントのコレクションから を作成します。

public:
 static Microsoft::AspNetCore::Routing::Patterns::RoutePattern ^ Pattern(System::Object ^ defaults, System::Object ^ parameterPolicies, System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Routing::Patterns::RoutePatternPathSegment ^> ^ segments);
public static Microsoft.AspNetCore.Routing.Patterns.RoutePattern Pattern (object defaults, object parameterPolicies, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment> segments);
public static Microsoft.AspNetCore.Routing.Patterns.RoutePattern Pattern (object? defaults, object? parameterPolicies, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment> segments);
static member Pattern : obj * obj * seq<Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment> -> Microsoft.AspNetCore.Routing.Patterns.RoutePattern
Public Shared Function Pattern (defaults As Object, parameterPolicies As Object, segments As IEnumerable(Of RoutePatternPathSegment)) As RoutePattern

パラメーター

defaults
Object

ルート パターンに関連付けられている追加の既定値。 null も指定できます。 指定されたオブジェクトは、 を使用 RouteValueDictionary してキーと値のペアに変換され、ルート パターンにマージされます。

parameterPolicies
Object

ルート パターンに関連付けられている追加のパラメーター ポリシー。 null も指定できます。 指定されたオブジェクトは、 を使用 RouteValueDictionary してキーと値のペアに変換され、ルート パターンにマージされます。 値としてコレクションを指定することで、キーに複数のポリシーを指定できます。

segments
IEnumerable<RoutePatternPathSegment>

セグメントのコレクション。

戻り値

RoutePattern

適用対象

Pattern(String, RouteValueDictionary, RouteValueDictionary, RoutePatternPathSegment[])

RoutePattern指定された既定値とパラメーター ポリシーと共に、セグメントのコレクションから を作成します。

public static Microsoft.AspNetCore.Routing.Patterns.RoutePattern Pattern (string? rawText, Microsoft.AspNetCore.Routing.RouteValueDictionary? defaults, Microsoft.AspNetCore.Routing.RouteValueDictionary? parameterPolicies, params Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment[] segments);
static member Pattern : string * Microsoft.AspNetCore.Routing.RouteValueDictionary * Microsoft.AspNetCore.Routing.RouteValueDictionary * Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment[] -> Microsoft.AspNetCore.Routing.Patterns.RoutePattern
Public Shared Function Pattern (rawText As String, defaults As RouteValueDictionary, parameterPolicies As RouteValueDictionary, ParamArray segments As RoutePatternPathSegment()) As RoutePattern

パラメーター

rawText
String

ルート パターンに関連付ける生テキスト。

defaults
RouteValueDictionary

ルート パターンに関連付けられている追加の既定値。 null も指定できます。 指定されたオブジェクトは、 を使用 RouteValueDictionary してキーと値のペアに変換され、ルート パターンにマージされます。

parameterPolicies
RouteValueDictionary

ルート パターンに関連付けられている追加のパラメーター ポリシー。 null も指定できます。 指定されたオブジェクトは、 を使用 RouteValueDictionary してキーと値のペアに変換され、ルート パターンにマージされます。 値としてコレクションを指定することで、キーに複数のポリシーを指定できます。

segments
RoutePatternPathSegment[]

セグメントのコレクション。

戻り値

RoutePattern

適用対象

Pattern(String, RouteValueDictionary, RouteValueDictionary, IEnumerable<RoutePatternPathSegment>)

RoutePattern指定された既定値とパラメーター ポリシーと共に、セグメントのコレクションから を作成します。

public static Microsoft.AspNetCore.Routing.Patterns.RoutePattern Pattern (string? rawText, Microsoft.AspNetCore.Routing.RouteValueDictionary? defaults, Microsoft.AspNetCore.Routing.RouteValueDictionary? parameterPolicies, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment> segments);
static member Pattern : string * Microsoft.AspNetCore.Routing.RouteValueDictionary * Microsoft.AspNetCore.Routing.RouteValueDictionary * seq<Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment> -> Microsoft.AspNetCore.Routing.Patterns.RoutePattern
Public Shared Function Pattern (rawText As String, defaults As RouteValueDictionary, parameterPolicies As RouteValueDictionary, segments As IEnumerable(Of RoutePatternPathSegment)) As RoutePattern

パラメーター

rawText
String

ルート パターンに関連付ける生テキスト。 null も指定できます。

defaults
RouteValueDictionary

ルート パターンに関連付けられている追加の既定値。 null も指定できます。 指定されたオブジェクトは、 を使用 RouteValueDictionary してキーと値のペアに変換され、ルート パターンにマージされます。

parameterPolicies
RouteValueDictionary

ルート パターンに関連付けられている追加のパラメーター ポリシー。 null も指定できます。 指定されたオブジェクトは、 を使用 RouteValueDictionary してキーと値のペアに変換され、ルート パターンにマージされます。 値としてコレクションを指定することで、キーに複数のポリシーを指定できます。

segments
IEnumerable<RoutePatternPathSegment>

セグメントのコレクション。

戻り値

RoutePattern

適用対象

Pattern(String, Object, Object, RoutePatternPathSegment[])

ソース:
RoutePatternFactory.cs

RoutePattern指定された既定値とパラメーター ポリシーと共に、セグメントのコレクションから を作成します。

public:
 static Microsoft::AspNetCore::Routing::Patterns::RoutePattern ^ Pattern(System::String ^ rawText, System::Object ^ defaults, System::Object ^ parameterPolicies, ... cli::array <Microsoft::AspNetCore::Routing::Patterns::RoutePatternPathSegment ^> ^ segments);
public static Microsoft.AspNetCore.Routing.Patterns.RoutePattern Pattern (string rawText, object defaults, object parameterPolicies, params Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment[] segments);
public static Microsoft.AspNetCore.Routing.Patterns.RoutePattern Pattern (string? rawText, object? defaults, object? parameterPolicies, params Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment[] segments);
static member Pattern : string * obj * obj * Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment[] -> Microsoft.AspNetCore.Routing.Patterns.RoutePattern
Public Shared Function Pattern (rawText As String, defaults As Object, parameterPolicies As Object, ParamArray segments As RoutePatternPathSegment()) As RoutePattern

パラメーター

rawText
String

ルート パターンに関連付ける生テキスト。

defaults
Object

ルート パターンに関連付けられている追加の既定値。 null も指定できます。 指定されたオブジェクトは、 を使用 RouteValueDictionary してキーと値のペアに変換され、ルート パターンにマージされます。

parameterPolicies
Object

ルート パターンに関連付けられている追加のパラメーター ポリシー。 null も指定できます。 指定されたオブジェクトは、 を使用 RouteValueDictionary してキーと値のペアに変換され、ルート パターンにマージされます。 値としてコレクションを指定することで、キーに複数のポリシーを指定できます。

segments
RoutePatternPathSegment[]

セグメントのコレクション。

戻り値

RoutePattern

適用対象

Pattern(String, Object, Object, IEnumerable<RoutePatternPathSegment>)

ソース:
RoutePatternFactory.cs

RoutePattern指定された既定値とパラメーター ポリシーと共に、セグメントのコレクションから を作成します。

public:
 static Microsoft::AspNetCore::Routing::Patterns::RoutePattern ^ Pattern(System::String ^ rawText, System::Object ^ defaults, System::Object ^ parameterPolicies, System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Routing::Patterns::RoutePatternPathSegment ^> ^ segments);
public static Microsoft.AspNetCore.Routing.Patterns.RoutePattern Pattern (string rawText, object defaults, object parameterPolicies, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment> segments);
public static Microsoft.AspNetCore.Routing.Patterns.RoutePattern Pattern (string? rawText, object? defaults, object? parameterPolicies, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment> segments);
static member Pattern : string * obj * obj * seq<Microsoft.AspNetCore.Routing.Patterns.RoutePatternPathSegment> -> Microsoft.AspNetCore.Routing.Patterns.RoutePattern
Public Shared Function Pattern (rawText As String, defaults As Object, parameterPolicies As Object, segments As IEnumerable(Of RoutePatternPathSegment)) As RoutePattern

パラメーター

rawText
String

ルート パターンに関連付ける生テキスト。 null も指定できます。

defaults
Object

ルート パターンに関連付けられている追加の既定値。 null も指定できます。 指定されたオブジェクトは、 を使用 RouteValueDictionary してキーと値のペアに変換され、ルート パターンにマージされます。

parameterPolicies
Object

ルート パターンに関連付けられている追加のパラメーター ポリシー。 null も指定できます。 指定されたオブジェクトは、 を使用 RouteValueDictionary してキーと値のペアに変換され、ルート パターンにマージされます。 値としてコレクションを指定することで、キーに複数のポリシーを指定できます。

segments
IEnumerable<RoutePatternPathSegment>

セグメントのコレクション。

戻り値

RoutePattern

適用対象