CompositeViewEngine Class

Definition

Represents an IViewEngine that delegates to one of a collection of view engines.

public ref class CompositeViewEngine : Microsoft::AspNetCore::Mvc::ViewEngines::ICompositeViewEngine
public class CompositeViewEngine : Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine
type CompositeViewEngine = class
    interface ICompositeViewEngine
    interface IViewEngine
Public Class CompositeViewEngine
Implements ICompositeViewEngine
Inheritance
CompositeViewEngine
Implements

Constructors

CompositeViewEngine(IOptions<MvcViewOptions>)

Initializes a new instance of CompositeViewEngine.

Properties

ViewEngines

Gets the list of IViewEngine this instance of ICompositeViewEngine delegates to.

Methods

FindView(ActionContext, String, Boolean)

Finds the view with the given viewName using view locations and information from the context.

GetView(String, String, Boolean)

Gets the view with the given viewPath, relative to executingFilePath unless viewPath is already absolute.

Applies to