SaaS CMS has officially launched! Learn more now.

Class MediaEditController<TModel>

Inheritance
System.Object
MediaEditController<TModel>
Implements
Namespace: EPiServer.Cms.Shell.UI.Controllers.Preview.Internal
Assembly: EPiServer.Cms.Shell.UI.dll
Version: 11.20.7
Syntax
public abstract class MediaEditController<TModel> : Controller, IRenderTemplate<TModel>, IRenderTemplate where TModel : IContentMedia
Type Parameters
Name Description
TModel

Constructors

MediaEditController()

Declaration
protected MediaEditController()

Methods

GetPreviewContent(TModel)

Declaration
protected abstract string GetPreviewContent(TModel content)
Parameters
Type Name Description
TModel content
Returns
Type Description
System.String

Index(TModel)

Declaration
public ActionResult Index(TModel currentContent)
Parameters
Type Name Description
TModel currentContent
Returns
Type Description
System.Web.Mvc.ActionResult

Implements

Extension Methods