Condividi tramite


ParameterPolicyFactory.Create Metodo

Definizione

Overload

Create(RoutePatternParameterPart, IParameterPolicy)

Crea un criterio di parametro.

Create(RoutePatternParameterPart, RoutePatternParameterPolicyReference)

Crea un criterio di parametro.

Create(RoutePatternParameterPart, String)

Crea un criterio di parametro.

Create(RoutePatternParameterPart, IParameterPolicy)

Origine:
ParameterPolicyFactory.cs
Origine:
ParameterPolicyFactory.cs

Crea un criterio di parametro.

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

Parametri

parameter
RoutePatternParameterPart

Il parametro per cui viene creato il criterio dei parametri.

parameterPolicy
IParameterPolicy

Criteri di parametro esistenti.

Restituisce

Oggetto IParameterPolicy per il parametro.

Si applica a

Create(RoutePatternParameterPart, RoutePatternParameterPolicyReference)

Origine:
ParameterPolicyFactory.cs
Origine:
ParameterPolicyFactory.cs

Crea un criterio di parametro.

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

Parametri

parameter
RoutePatternParameterPart

Il parametro per cui viene creato il criterio dei parametri.

reference
RoutePatternParameterPolicyReference

Riferimento alla risoluzione.

Restituisce

Oggetto IParameterPolicy per il parametro.

Si applica a

Create(RoutePatternParameterPart, String)

Origine:
ParameterPolicyFactory.cs
Origine:
ParameterPolicyFactory.cs

Crea un criterio di parametro.

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

Parametri

parameter
RoutePatternParameterPart

Il parametro per cui viene creato il criterio dei parametri.

inlineText
String

Testo inline da risolvere.

Restituisce

Oggetto IParameterPolicy per il parametro.

Si applica a