ViewEngineCollection 构造函数

定义

重载

ViewEngineCollection()

初始化 ViewEngineCollection 类的新实例。

ViewEngineCollection(IList<IViewEngine>)

使用指定的视图引擎列表初始化 类的新实例 ViewEngineCollection

ViewEngineCollection()

初始化 ViewEngineCollection 类的新实例。

public ViewEngineCollection ();
Public Sub New ()

适用于

ViewEngineCollection(IList<IViewEngine>)

使用指定的视图引擎列表初始化 类的新实例 ViewEngineCollection

public ViewEngineCollection (System.Collections.Generic.IList<System.Web.Mvc.IViewEngine> list);
new System.Web.Mvc.ViewEngineCollection : System.Collections.Generic.IList<System.Web.Mvc.IViewEngine> -> System.Web.Mvc.ViewEngineCollection
Public Sub New (list As IList(Of IViewEngine))

参数

list
IList<IViewEngine>

由新的集合包装的列表。

例外

list 为 null。

适用于