ViewEngineDescriptor Class

Summary

Encapsulates information that describes an [Microsoft.AspNet.Mvc.Rendering.IViewEngine](Microsoft.AspNet.Mvc.Rendering.IViewEngine.yml).

Syntax

public class ViewEngineDescriptor

GitHub

View on GitHub

class Microsoft.AspNet.Mvc.ViewEngineDescriptor

Constructors

ViewEngineDescriptor(Microsoft.AspNet.Mvc.Rendering.IViewEngine)

Creates a new instance of [Microsoft.AspNet.Mvc.ViewEngineDescriptor](Microsoft.AspNet.Mvc.ViewEngineDescriptor.yml) using the specified type.

Arguments:
public ViewEngineDescriptor(IViewEngine viewEngine)
ViewEngineDescriptor(System.Type)

Creates a new instance of [Microsoft.AspNet.Mvc.ViewEngineDescriptor](Microsoft.AspNet.Mvc.ViewEngineDescriptor.yml).

Arguments:
  • type (System.Type) – The [Microsoft.AspNet.Mvc.Rendering.IViewEngine](Microsoft.AspNet.Mvc.Rendering.IViewEngine.yml) type that the descriptor represents.
public ViewEngineDescriptor(Type type)

Properties

ViewEngine()

Gets the [Microsoft.AspNet.Mvc.Rendering.IViewEngine](Microsoft.AspNet.Mvc.Rendering.IViewEngine.yml) instance described by this [Microsoft.AspNet.Mvc.ViewEngineDescriptor](Microsoft.AspNet.Mvc.ViewEngineDescriptor.yml).

Return type:Microsoft.AspNet.Mvc.Rendering.IViewEngine
public IViewEngine ViewEngine { get; }
ViewEngineType()

Gets the type of the [Microsoft.AspNet.Mvc.Rendering.IViewEngine](Microsoft.AspNet.Mvc.Rendering.IViewEngine.yml) described by this [Microsoft.AspNet.Mvc.ViewEngineDescriptor](Microsoft.AspNet.Mvc.ViewEngineDescriptor.yml).

Return type:System.Type
public Type ViewEngineType { get; }