OptionalRouteConstraint(IRouteConstraint) 构造函数

定义

在给定 的情况下innerConstraint创建一个新OptionalRouteConstraint实例。

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)

参数

innerConstraint
IRouteConstraint

适用于