RoutePatternFactory.ParameterPart Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
ParameterPart(String) |
Cria um RoutePatternParameterPart com base no nome do parâmetro fornecido. |
ParameterPart(String, Object) |
Cria um RoutePatternParameterPart com base no nome do parâmetro fornecido e no valor padrão. |
ParameterPart(String, Object, RoutePatternParameterKind) |
Cria um RoutePatternParameterPart com base no nome do parâmetro fornecido, no valor padrão e no tipo de parâmetro. |
ParameterPart(String, Object, RoutePatternParameterKind, RoutePatternParameterPolicyReference[]) |
Cria um RoutePatternParameterPart com base no nome do parâmetro fornecido e no valor padrão, tipo de parâmetro e políticas de parâmetro. |
ParameterPart(String, Object, RoutePatternParameterKind, IEnumerable<RoutePatternParameterPolicyReference>) |
Cria um RoutePatternParameterPart com base no nome do parâmetro fornecido e no valor padrão, tipo de parâmetro e políticas de parâmetro. |
ParameterPart(String)
- Origem:
- RoutePatternFactory.cs
- Origem:
- RoutePatternFactory.cs
Cria um RoutePatternParameterPart com base no nome do parâmetro fornecido.
public:
static Microsoft::AspNetCore::Routing::Patterns::RoutePatternParameterPart ^ ParameterPart(System::String ^ parameterName);
public static Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPart ParameterPart (string parameterName);
static member ParameterPart : string -> Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPart
Public Shared Function ParameterPart (parameterName As String) As RoutePatternParameterPart
Parâmetros
- parameterName
- String
O nome do parâmetro.
Retornos
Aplica-se a
ParameterPart(String, Object)
- Origem:
- RoutePatternFactory.cs
- Origem:
- RoutePatternFactory.cs
Cria um RoutePatternParameterPart com base no nome do parâmetro fornecido e no valor padrão.
public:
static Microsoft::AspNetCore::Routing::Patterns::RoutePatternParameterPart ^ ParameterPart(System::String ^ parameterName, System::Object ^ default);
public static Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPart ParameterPart (string parameterName, object default);
static member ParameterPart : string * obj -> Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPart
Public Shared Function ParameterPart (parameterName As String, default As Object) As RoutePatternParameterPart
Parâmetros
- parameterName
- String
O nome do parâmetro.
- default
- Object
O valor padrão do parâmetro. Pode ser null
.
Retornos
Aplica-se a
ParameterPart(String, Object, RoutePatternParameterKind)
- Origem:
- RoutePatternFactory.cs
- Origem:
- RoutePatternFactory.cs
Cria um RoutePatternParameterPart com base no nome do parâmetro fornecido, no valor padrão e no tipo de parâmetro.
public:
static Microsoft::AspNetCore::Routing::Patterns::RoutePatternParameterPart ^ ParameterPart(System::String ^ parameterName, System::Object ^ default, Microsoft::AspNetCore::Routing::Patterns::RoutePatternParameterKind parameterKind);
public static Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPart ParameterPart (string parameterName, object default, Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterKind parameterKind);
public static Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPart ParameterPart (string parameterName, object? default, Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterKind parameterKind);
static member ParameterPart : string * obj * Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterKind -> Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPart
Public Shared Function ParameterPart (parameterName As String, default As Object, parameterKind As RoutePatternParameterKind) As RoutePatternParameterPart
Parâmetros
- parameterName
- String
O nome do parâmetro.
- default
- Object
O valor padrão do parâmetro. Pode ser null
.
- parameterKind
- RoutePatternParameterKind
O tipo de parâmetro.
Retornos
Aplica-se a
ParameterPart(String, Object, RoutePatternParameterKind, RoutePatternParameterPolicyReference[])
- Origem:
- RoutePatternFactory.cs
- Origem:
- RoutePatternFactory.cs
Cria um RoutePatternParameterPart com base no nome do parâmetro fornecido e no valor padrão, tipo de parâmetro e políticas de parâmetro.
public:
static Microsoft::AspNetCore::Routing::Patterns::RoutePatternParameterPart ^ ParameterPart(System::String ^ parameterName, System::Object ^ default, Microsoft::AspNetCore::Routing::Patterns::RoutePatternParameterKind parameterKind, ... cli::array <Microsoft::AspNetCore::Routing::Patterns::RoutePatternParameterPolicyReference ^> ^ parameterPolicies);
public static Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPart ParameterPart (string parameterName, object default, Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterKind parameterKind, params Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPolicyReference[] parameterPolicies);
public static Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPart ParameterPart (string parameterName, object? default, Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterKind parameterKind, params Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPolicyReference[] parameterPolicies);
static member ParameterPart : string * obj * Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterKind * Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPolicyReference[] -> Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPart
Public Shared Function ParameterPart (parameterName As String, default As Object, parameterKind As RoutePatternParameterKind, ParamArray parameterPolicies As RoutePatternParameterPolicyReference()) As RoutePatternParameterPart
Parâmetros
- parameterName
- String
O nome do parâmetro.
- default
- Object
O valor padrão do parâmetro. Pode ser null
.
- parameterKind
- RoutePatternParameterKind
O tipo de parâmetro.
- parameterPolicies
- RoutePatternParameterPolicyReference[]
As políticas de parâmetro a serem associadas ao parâmetro .
Retornos
Aplica-se a
ParameterPart(String, Object, RoutePatternParameterKind, IEnumerable<RoutePatternParameterPolicyReference>)
- Origem:
- RoutePatternFactory.cs
- Origem:
- RoutePatternFactory.cs
Cria um RoutePatternParameterPart com base no nome do parâmetro fornecido e no valor padrão, tipo de parâmetro e políticas de parâmetro.
public:
static Microsoft::AspNetCore::Routing::Patterns::RoutePatternParameterPart ^ ParameterPart(System::String ^ parameterName, System::Object ^ default, Microsoft::AspNetCore::Routing::Patterns::RoutePatternParameterKind parameterKind, System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Routing::Patterns::RoutePatternParameterPolicyReference ^> ^ parameterPolicies);
public static Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPart ParameterPart (string parameterName, object default, Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterKind parameterKind, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPolicyReference> parameterPolicies);
public static Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPart ParameterPart (string parameterName, object? default, Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterKind parameterKind, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPolicyReference> parameterPolicies);
static member ParameterPart : string * obj * Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterKind * seq<Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPolicyReference> -> Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPart
Public Shared Function ParameterPart (parameterName As String, default As Object, parameterKind As RoutePatternParameterKind, parameterPolicies As IEnumerable(Of RoutePatternParameterPolicyReference)) As RoutePatternParameterPart
Parâmetros
- parameterName
- String
O nome do parâmetro.
- default
- Object
O valor padrão do parâmetro. Pode ser null
.
- parameterKind
- RoutePatternParameterKind
O tipo de parâmetro.
- parameterPolicies
- IEnumerable<RoutePatternParameterPolicyReference>
As políticas de parâmetro a serem associadas ao parâmetro .