Interface ISitecoreRenderingContext
Version: 21.x
Represents the context data for Sitecore rendering logic.
Namespace: Sitecore.AspNet.RenderingEngine
Assembly: Sitecore.AspNet.RenderingEngine.Abstractions.dll
Syntax
RequestResponse
public interface ISitecoreRenderingContextProperties
Component
Gets or sets the current Component.
Declaration
RequestResponse
Component Component { get; set; }Property Value
| Type | Description |
|---|---|
| Component |
Controller
Gets or sets the current Microsoft.AspNetCore.Mvc.ControllerBase.
Declaration
RequestResponse
ControllerBase Controller { get; set; }Property Value
| Type | Description |
|---|---|
| Microsoft.AspNetCore.Mvc.ControllerBase |
RenderingHelpers
Gets or sets the current RenderingHelpers.
Declaration
RequestResponse
RenderingHelpers RenderingHelpers { get; set; }Property Value
| Type | Description |
|---|---|
| RenderingHelpers |
Response
Gets or sets the current SitecoreLayoutResponse.
Declaration
RequestResponse
SitecoreLayoutResponse Response { get; set; }Property Value
| Type | Description |
|---|---|
| SitecoreLayoutResponse |