Class CategoryListExtensions
Contains extension methods related to Category
Inheritance
System.Object
CategoryListExtensions
Namespace: EPiServer.Web.Mvc.Html
Assembly: EPiServer.Cms.AspNetCore.HtmlHelpers.dll
Version: 12.0.3Syntax
public static class CategoryListExtensions : Object
Methods
CategoryList(IHtmlHelper, CategoryList)
Returns the value of the specified CategoryList as a comma separated list of category names.
Declaration
public static IHtmlContent CategoryList(this IHtmlHelper htmlHelper, CategoryList categoryList)
Parameters
Type | Name | Description |
---|---|---|
Microsoft. |
htmlHelper | The HTML helper instance that this method extends. |
Category |
categoryList | The category list whose value to return. |
Returns
Type | Description |
---|---|
Microsoft. |
The value of the |