Class RenderingEngineOptions

Version: 21.x

The options to configure the Sitecore Rendering Engine.

Inheritance
System.Object
RenderingEngineOptions
Namespace: Sitecore.AspNet.RenderingEngine.Configuration
Assembly: Sitecore.AspNet.RenderingEngine.dll
Syntax
RequestResponse
public class RenderingEngineOptions : Object

Constructors

RenderingEngineOptions()

Declaration
RequestResponse
public RenderingEngineOptions()

Properties

DefaultRenderer

Gets or sets the default ComponentRendererDescriptor object for handling component rendering.

Declaration
RequestResponse
public ComponentRendererDescriptor DefaultRenderer { get; set; }
Property Value

PostRenderingActions

Gets collection of actions to be executed right after RenderingEngine middleware logic.

Declaration
RequestResponse
public ICollection<Action<HttpContext>> PostRenderingActions { get; }
Property Value
TypeDescription
System.Collections.Generic.ICollection<System.Action<Microsoft.AspNetCore.Http.HttpContext>>

RendererRegistry

Gets or sets the list of ComponentRendererDescriptor objects for handling component rendering.

Declaration
RequestResponse
public SortedList<int, ComponentRendererDescriptor> RendererRegistry { get; set; }
Property Value
TypeDescription
System.Collections.Generic.SortedList<System.Int32, ComponentRendererDescriptor>

RequestMappings

Gets or sets the action list to configure the SitecoreLayoutRequest handler for incoming HTTP requests.

Declaration
RequestResponse
public ICollection<Action<HttpRequest, SitecoreLayoutRequest>> RequestMappings { get; set; }
Property Value
TypeDescription
System.Collections.Generic.ICollection<System.Action<Microsoft.AspNetCore.Http.HttpRequest, SitecoreLayoutRequest>>

Extension Methods

Do you have some feedback for us?

If you have suggestions for improving this article,