OptionalRouteConstraint(IRouteConstraint) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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