Class ContentAreaExtensions
Extension methods for rendering content areas insode MVC views
Inheritance
System.Object
ContentAreaExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Web.Mvc.Html
Assembly: EPiServer.dll
Version: 8.11.0Syntax
public static class ContentAreaExtensions
Methods
RenderContentArea(HtmlHelper, ContentArea)
Renders the content area on the stream.
Declaration
public static void RenderContentArea(this HtmlHelper htmlHelper, ContentArea contentArea)
Parameters
Type | Name | Description |
---|---|---|
System.Web.Mvc.HtmlHelper | htmlHelper | The HTML. |
ContentArea | contentArea | The content area. |
RenderContentArea(HtmlHelper, ContentArea, IContentRenderer, TemplateResolver, IContentFilter)
Renders the content area on the stream.
Declaration
[Obsolete("This method is obsolete. Call HtmlHelper.RenderContentArea(ContentArea) instead.", false)]
public static void RenderContentArea(this HtmlHelper htmlHelper, ContentArea contentArea, IContentRenderer contentRenderer, TemplateResolver templateResolver, IContentFilter contentFilter)
Parameters
Type | Name | Description |
---|---|---|
System.Web.Mvc.HtmlHelper | htmlHelper | The html helper |
ContentArea | contentArea | The content area |
IContentRenderer | contentRenderer | The content renderer |
TemplateResolver | templateResolver | The template resolver |
IContentFilter | contentFilter | The content filter |