Click or drag to resize
HandlebarsView Class
Represents the information that is needed to render a Handlebars view in ASP.NET MVC.
Inheritance Hierarchy
SystemObject
  HandlebarsDotNet.MvcHandlebarsView

Namespace: HandlebarsDotNet.Mvc
Assembly: HandlebarsDotNet.Mvc (in HandlebarsDotNet.Mvc.dll) Version: 1.0.0-beta
Syntax
public class HandlebarsView : IView, 
	IViewDataContainer

The HandlebarsView type exposes the following members.

Constructors
  NameDescription
Public methodHandlebarsView
Initializes a new instance of the HandlebarsView class using the controller context and compiled view and layouts.
Top
Methods
  NameDescription
Public methodStatic memberCode exampleGetViewContext
Gets the ViewContext that was stored in the context when rendering began for the view.
Public methodRender
Renders the specified view context by using the specified writer object.
Protected methodSetupContext
Creates the context (Handlebars lingo for the model) and stores references to the ViewData and ViewContext.
Top
Properties
  NameDescription
Public propertyViewData
Gets or sets the view data dictionary.
Top
See Also