Class DefaultMvcPropertyRenderer
Inheritance
System.Object
DefaultMvcPropertyRenderer
Implements
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.0Syntax
[ServiceConfiguration(ServiceType = typeof(IMvcPropertyRenderer), Lifecycle = ServiceInstanceScope.Singleton)]
public class DefaultMvcPropertyRenderer : IMvcPropertyRenderer
Constructors
DefaultMvcPropertyRenderer()
Initializes a new instance of the DefaultMvcPropertyRenderer class.
Declaration
public DefaultMvcPropertyRenderer()
DefaultMvcPropertyRenderer(CachingViewEnginesWrapper)
Initializes a new instance of the DefaultMvcPropertyRenderer class.
Declaration
public DefaultMvcPropertyRenderer(CachingViewEnginesWrapper cachingViewEngineWrapper)
Parameters
Type | Name | Description |
---|---|---|
CachingViewEnginesWrapper | cachingViewEngineWrapper | The caching view engine wrapper. |
Methods
Render(IContentData, PropertyData, ViewContext, TextWriter)
Renders the given property to the designated writer.
Declaration
public 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. |