Share via


OptionalRouteConstraint(IRouteConstraint) Constructor

Definition

Creates a new OptionalRouteConstraint instance given the 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)

Parameters

innerConstraint
IRouteConstraint

Applies to