Compartir a través de


RoutePatternFactory.ParameterPolicy Método

Definición

Sobrecargas

ParameterPolicy(IParameterPolicy)

Crea un objeto RoutePatternParameterPolicyReference a partir del objeto proporcionado.

ParameterPolicy(String)

Crea un objeto RoutePatternParameterPolicyReference a partir del objeto proporcionado.

ParameterPolicy(IParameterPolicy)

Source:
RoutePatternFactory.cs
Source:
RoutePatternFactory.cs

Crea un objeto RoutePatternParameterPolicyReference a partir del objeto proporcionado.

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

Parámetros

parameterPolicy
IParameterPolicy

Objeto de directiva de parámetros.

Devoluciones

RoutePatternParameterPolicyReference.

Se aplica a

ParameterPolicy(String)

Source:
RoutePatternFactory.cs
Source:
RoutePatternFactory.cs

Crea un objeto RoutePatternParameterPolicyReference a partir del objeto proporcionado.

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

Parámetros

parameterPolicy
String

Texto de la directiva de parámetros, que se resolverá mediante ParameterPolicyFactory.

Devoluciones

RoutePatternParameterPolicyReference.

Se aplica a