Dela via


CompositeViewEngine(IOptions<MvcViewOptions>) Constructor

Definition

Initializes a new instance of 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))

Parameters

optionsAccessor
IOptions<MvcViewOptions>

The options accessor for MvcViewOptions.

Applies to