CompositeRouteConstraint(IEnumerable<IRouteConstraint>) 构造函数

定义

初始化 CompositeRouteConstraint 类的新实例。

public:
 CompositeRouteConstraint(System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Routing::IRouteConstraint ^> ^ constraints);
public CompositeRouteConstraint (System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Routing.IRouteConstraint> constraints);
new Microsoft.AspNetCore.Routing.Constraints.CompositeRouteConstraint : seq<Microsoft.AspNetCore.Routing.IRouteConstraint> -> Microsoft.AspNetCore.Routing.Constraints.CompositeRouteConstraint
Public Sub New (constraints As IEnumerable(Of IRouteConstraint))

参数

constraints
IEnumerable<IRouteConstraint>

该约束匹配时也必须匹配的子约束。

适用于