Class MvcEditContainer

Inheritance
System.Object
MvcEditContainer
Implements
System.IDisposable
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
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
public class MvcEditContainer : EditContainer, IDisposable

Constructors

MvcEditContainer(RequestContext, String, String, String, String, TextWriter)

Initializes a new instance of the MvcEditContainer class.

Declaration
public MvcEditContainer(RequestContext requestContext, string epiPropertyKey, string epiPropertyName, string editElementName, string editElementCssClass, TextWriter writer)
Parameters
Type Name Description
System.Web.Routing.RequestContext 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

Extension Methods