ControllerExtensions.GetPartialViewName Method

Namespace:
Weavy.Web.Extensions
Assembly:
Weavy.Web.dll

Overloads

GetPartialViewName(ControllerContext, Content, Layout?)
GetPartialViewName(ControllerContext, ContentSearchResult)

GetPartialViewName(ControllerContext, Content, Layout?)

public static string GetPartialViewName(this ControllerContext context, Content content, Layout? layout)

Parameters

context
System.Web.Mvc.ControllerContext
content
Content
layout
Weavy.Core.Models.Layout?

Returns

string

GetPartialViewName(ControllerContext, ContentSearchResult)

public static string GetPartialViewName(this ControllerContext context, ContentSearchResult result)

Parameters

context
System.Web.Mvc.ControllerContext

Returns

string