共用方式為


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 存取子。

適用於