WeavyController.View Method

Namespace:
Weavy.Web.Controllers
Assembly:
Weavy.Web.dll

Overloads

View(App) Creates a System.Web.Mvc.ViewResult object that renders a view, by using the specified model.
View(Content) Creates a System.Web.Mvc.ViewResult object that renders a view, by using the specified model.
View(string, App) Creates a System.Web.Mvc.ViewResult object that renders a view, by using the specified model.
View(string, Content) Creates a System.Web.Mvc.ViewResult object that renders a view, by using the specified model.

View(App)

Creates a System.Web.Mvc.ViewResult object that renders a view, by using the specified model.

public ViewResult View(App model)

Parameters

model
App

Returns

System.Web.Mvc.ViewResult

View(Content)

Creates a System.Web.Mvc.ViewResult object that renders a view, by using the specified model.

public ViewResult View(Content model)

Parameters

model
Content

Returns

System.Web.Mvc.ViewResult

View(string, App)

Creates a System.Web.Mvc.ViewResult object that renders a view, by using the specified model.

public ViewResult View(string viewName, App model)

Parameters

viewName
string

The view that is rendered to the response.

model
App

The content item to render.

Returns

System.Web.Mvc.ViewResult

View(string, Content)

Creates a System.Web.Mvc.ViewResult object that renders a view, by using the specified model.

public ViewResult View(string viewName, Content model)

Parameters

viewName
string

The view that is rendered to the response.

model
Content

The content item to render.

Returns

System.Web.Mvc.ViewResult