PageConventionCollection 构造函数

定义

重载

PageConventionCollection()

初始化为空的 PageConventionCollection 类的新实例。

PageConventionCollection(IList<IPageConvention>)

PageConventionCollection 类的新实例初始化为指定列表的包装。

PageConventionCollection()

Source:
PageConventionCollection.cs
Source:
PageConventionCollection.cs
Source:
PageConventionCollection.cs

初始化为空的 PageConventionCollection 类的新实例。

public:
 PageConventionCollection();
public PageConventionCollection ();
Public Sub New ()

适用于

PageConventionCollection(IList<IPageConvention>)

Source:
PageConventionCollection.cs
Source:
PageConventionCollection.cs
Source:
PageConventionCollection.cs

PageConventionCollection 类的新实例初始化为指定列表的包装。

public:
 PageConventionCollection(System::Collections::Generic::IList<Microsoft::AspNetCore::Mvc::ApplicationModels::IPageConvention ^> ^ conventions);
public PageConventionCollection (System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ApplicationModels.IPageConvention> conventions);
new Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection : System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ApplicationModels.IPageConvention> -> Microsoft.AspNetCore.Mvc.ApplicationModels.PageConventionCollection
Public Sub New (conventions As IList(Of IPageConvention))

参数

conventions
IList<IPageConvention>

由新的集合包装的列表。

适用于