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 : ObjectConstructors
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
| Type | Description |
|---|---|
| ComponentRendererDescriptor |
PostRenderingActions
Gets collection of actions to be executed right after RenderingEngine middleware logic.
Declaration
RequestResponse
public ICollection<Action<HttpContext>> PostRenderingActions { get; }Property Value
| Type | Description |
|---|---|
| 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
| Type | Description |
|---|---|
| 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
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<System.Action<Microsoft.AspNetCore.Http.HttpRequest, SitecoreLayoutRequest>> |