Class MvcEditContainer
Implements
System.IDisposable
Inherited Members
Namespace: EPiServer.Web.Mvc.Internal
Assembly: EPiServer.Cms.AspNetCore.HtmlHelpers.dll
Version: 12.0.3Syntax
public class MvcEditContainer : EditContainer, IDisposable
Constructors
MvcEditContainer(HttpContext, String, String, String, String, TextWriter)
Initializes a new instance of the MvcEditContainer class.
Declaration
public MvcEditContainer(HttpContext requestContext, string epiPropertyKey, string epiPropertyName, string editElementName, string editElementCssClass, TextWriter writer)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Http.HttpContext | requestContext | The request context. |
System.String | epiPropertyKey | Key of the episerver property. |
System.String | epiPropertyName | Name of the episerver property. |
System.String | editElementName | Name of the edit element. |
System.String | editElementCssClass | The CSS class for edit element. |
System.IO.TextWriter | writer | The text writer. |
Methods
WriteEndElement(String)
Writes the end element in the text writer.
Declaration
protected override void WriteEndElement(string endElement)
Parameters
Type | Name | Description |
---|---|---|
System.String | endElement | The end element. |
Overrides
WriteStartElement(String)
Writes the start element in the text writer.
Declaration
protected override void WriteStartElement(string startElement)
Parameters
Type | Name | Description |
---|---|---|
System.String | startElement | The start element. |
Overrides
Implements
System.IDisposable