Interface IMvcPropertyRenderer

Renders a property data in an MVC context.

Namespace: EPiServer.Web.Mvc
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
public interface IMvcPropertyRenderer

Methods

Render(IContentData, PropertyData, ViewContext, TextWriter)

Renders the given property to the designated writer.

Declaration
void Render(IContentData propertyOwner, PropertyData property, ViewContext context, TextWriter writer)
Parameters
Type Name Description
IContentData propertyOwner

The content the property belongs to.

PropertyData property

The property data to render.

System.Web.Mvc.ViewContext context

The view context in which the property is being rendered.

System.IO.TextWriter writer

The writer to which to write the property.

Extension Methods