RoutePatternFactory.ParameterPolicy 方法

定義

多載

ParameterPolicy(IParameterPolicy)

RoutePatternParameterPolicyReference從提供的 物件建立 。

ParameterPolicy(String)

RoutePatternParameterPolicyReference從提供的 物件建立 。

ParameterPolicy(IParameterPolicy)

來源:
RoutePatternFactory.cs
來源:
RoutePatternFactory.cs

RoutePatternParameterPolicyReference從提供的 物件建立 。

public:
 static Microsoft::AspNetCore::Routing::Patterns::RoutePatternParameterPolicyReference ^ ParameterPolicy(Microsoft::AspNetCore::Routing::IParameterPolicy ^ parameterPolicy);
public static Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPolicyReference ParameterPolicy (Microsoft.AspNetCore.Routing.IParameterPolicy parameterPolicy);
static member ParameterPolicy : Microsoft.AspNetCore.Routing.IParameterPolicy -> Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPolicyReference
Public Shared Function ParameterPolicy (parameterPolicy As IParameterPolicy) As RoutePatternParameterPolicyReference

參數

parameterPolicy
IParameterPolicy

參數原則物件。

傳回

RoutePatternParameterPolicyReference

適用於

ParameterPolicy(String)

來源:
RoutePatternFactory.cs
來源:
RoutePatternFactory.cs

RoutePatternParameterPolicyReference從提供的 物件建立 。

public:
 static Microsoft::AspNetCore::Routing::Patterns::RoutePatternParameterPolicyReference ^ ParameterPolicy(System::String ^ parameterPolicy);
public static Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPolicyReference ParameterPolicy (string parameterPolicy);
static member ParameterPolicy : string -> Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPolicyReference
Public Shared Function ParameterPolicy (parameterPolicy As String) As RoutePatternParameterPolicyReference

參數

parameterPolicy
String

參數原則文字,由 解析 ParameterPolicyFactory

傳回

RoutePatternParameterPolicyReference

適用於