ControllerExtensions.GetPartialViewName Method

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

Overloads

GetPartialViewName(ControllerContext, Content, Nullable)
GetPartialViewName(ControllerContext, ContentSearchResult)

GetPartialViewName(ControllerContext, Content, Nullable)

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

Parameters

context
System.Web.Mvc.ControllerContext
content
Content
layout
System.Nullable{Weavy.Core.Models.Layout}

Returns

System.String

GetPartialViewName(ControllerContext, ContentSearchResult)

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

Parameters

context
System.Web.Mvc.ControllerContext

Returns

System.String