CompositeViewEngine(IOptions<MvcViewOptions>) 构造函数

定义

初始化 CompositeViewEngine 的新实例。

public:
 CompositeViewEngine(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Mvc::MvcViewOptions ^> ^ optionsAccessor);
public CompositeViewEngine (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions> optionsAccessor);
new Microsoft.AspNetCore.Mvc.ViewEngines.CompositeViewEngine : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions> -> Microsoft.AspNetCore.Mvc.ViewEngines.CompositeViewEngine
Public Sub New (optionsAccessor As IOptions(Of MvcViewOptions))

参数

optionsAccessor
IOptions<MvcViewOptions>

的选项 MvcViewOptions访问器。

适用于