Compartilhar via


OptionalRouteConstraint(IRouteConstraint) Construtor

Definição

Cria uma nova OptionalRouteConstraint instância dada a innerConstraint.

public:
 OptionalRouteConstraint(Microsoft::AspNetCore::Routing::IRouteConstraint ^ innerConstraint);
public OptionalRouteConstraint (Microsoft.AspNetCore.Routing.IRouteConstraint innerConstraint);
new Microsoft.AspNetCore.Routing.Constraints.OptionalRouteConstraint : Microsoft.AspNetCore.Routing.IRouteConstraint -> Microsoft.AspNetCore.Routing.Constraints.OptionalRouteConstraint
Public Sub New (innerConstraint As IRouteConstraint)

Parâmetros

innerConstraint
IRouteConstraint

Aplica-se a