共用方式為


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>

必須符合此條件約束的要符合的子條件約束。

適用於