Compartir a través de


ParameterPolicyFactory.Create Método

Definición

Sobrecargas

Create(RoutePatternParameterPart, IParameterPolicy)

Crea una directiva de parámetros.

Create(RoutePatternParameterPart, RoutePatternParameterPolicyReference)

Crea una directiva de parámetros.

Create(RoutePatternParameterPart, String)

Crea una directiva de parámetros.

Create(RoutePatternParameterPart, IParameterPolicy)

Source:
ParameterPolicyFactory.cs
Source:
ParameterPolicyFactory.cs

Crea una directiva de parámetros.

public:
 abstract Microsoft::AspNetCore::Routing::IParameterPolicy ^ Create(Microsoft::AspNetCore::Routing::Patterns::RoutePatternParameterPart ^ parameter, Microsoft::AspNetCore::Routing::IParameterPolicy ^ parameterPolicy);
public abstract Microsoft.AspNetCore.Routing.IParameterPolicy Create (Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPart parameter, Microsoft.AspNetCore.Routing.IParameterPolicy parameterPolicy);
public abstract Microsoft.AspNetCore.Routing.IParameterPolicy Create (Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPart? parameter, Microsoft.AspNetCore.Routing.IParameterPolicy parameterPolicy);
abstract member Create : Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPart * Microsoft.AspNetCore.Routing.IParameterPolicy -> Microsoft.AspNetCore.Routing.IParameterPolicy
Public MustOverride Function Create (parameter As RoutePatternParameterPart, parameterPolicy As IParameterPolicy) As IParameterPolicy

Parámetros

parameter
RoutePatternParameterPart

Parámetro para el que se va a crear la directiva de parámetros.

parameterPolicy
IParameterPolicy

Una directiva de parámetros existente.

Devoluciones

IParameterPolicy para el parámetro .

Se aplica a

Create(RoutePatternParameterPart, RoutePatternParameterPolicyReference)

Source:
ParameterPolicyFactory.cs
Source:
ParameterPolicyFactory.cs

Crea una directiva de parámetros.

public:
 Microsoft::AspNetCore::Routing::IParameterPolicy ^ Create(Microsoft::AspNetCore::Routing::Patterns::RoutePatternParameterPart ^ parameter, Microsoft::AspNetCore::Routing::Patterns::RoutePatternParameterPolicyReference ^ reference);
public Microsoft.AspNetCore.Routing.IParameterPolicy Create (Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPart parameter, Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPolicyReference reference);
public Microsoft.AspNetCore.Routing.IParameterPolicy Create (Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPart? parameter, Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPolicyReference reference);
member this.Create : Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPart * Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPolicyReference -> Microsoft.AspNetCore.Routing.IParameterPolicy
Public Function Create (parameter As RoutePatternParameterPart, reference As RoutePatternParameterPolicyReference) As IParameterPolicy

Parámetros

parameter
RoutePatternParameterPart

Parámetro para el que se va a crear la directiva de parámetros.

reference
RoutePatternParameterPolicyReference

Referencia que se va a resolver.

Devoluciones

IParameterPolicy para el parámetro .

Se aplica a

Create(RoutePatternParameterPart, String)

Source:
ParameterPolicyFactory.cs
Source:
ParameterPolicyFactory.cs

Crea una directiva de parámetros.

public:
 abstract Microsoft::AspNetCore::Routing::IParameterPolicy ^ Create(Microsoft::AspNetCore::Routing::Patterns::RoutePatternParameterPart ^ parameter, System::String ^ inlineText);
public abstract Microsoft.AspNetCore.Routing.IParameterPolicy Create (Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPart parameter, string inlineText);
public abstract Microsoft.AspNetCore.Routing.IParameterPolicy Create (Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPart? parameter, string inlineText);
abstract member Create : Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPart * string -> Microsoft.AspNetCore.Routing.IParameterPolicy
Public MustOverride Function Create (parameter As RoutePatternParameterPart, inlineText As String) As IParameterPolicy

Parámetros

parameter
RoutePatternParameterPart

Parámetro para el que se va a crear la directiva de parámetros.

inlineText
String

Texto insertado que se va a resolver.

Devoluciones

IParameterPolicy para el parámetro .

Se aplica a