RoutePatternFactory.ParameterPolicy 方法

定义

重载

ParameterPolicy(IParameterPolicy)

RoutePatternParameterPolicyReference从提供的 对象创建 。

ParameterPolicy(String)

RoutePatternParameterPolicyReference从提供的 对象创建 。

ParameterPolicy(IParameterPolicy)

Source:
RoutePatternFactory.cs
Source:
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)

Source:
RoutePatternFactory.cs
Source:
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

适用于