WeavyController.PartialView Method

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

Overloads

PartialView(App) Creates a System.Web.Mvc.ViewResult object that renders a view, by using the specified model.
PartialView(Content) Creates a System.Web.Mvc.ViewResult object that renders a view, by using the specified model.
PartialView(ContentSearchResult) Renders a partial view for the specified content search result.
PartialView(string, App) Creates a System.Web.Mvc.PartialViewResult object that renders a view, by using the specified model.
PartialView(string, Content) Creates a System.Web.Mvc.PartialViewResult object that renders a view, by using the specified model.

PartialView(App)

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

public PartialViewResult PartialView(App model)

Parameters

model
App

The content item to render.

Returns

System.Web.Mvc.PartialViewResult

PartialView(Content)

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

public PartialViewResult PartialView(Content model)

Parameters

model
Content

The content item to render.

Returns

System.Web.Mvc.PartialViewResult

PartialView(ContentSearchResult)

Renders a partial view for the specified content search result.

public PartialViewResult PartialView(ContentSearchResult model)

Parameters

Returns

System.Web.Mvc.PartialViewResult

PartialView(string, App)

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

public PartialViewResult PartialView(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.PartialViewResult

PartialView(string, Content)

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

public PartialViewResult PartialView(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.PartialViewResult