Class SitecoreRenderingContext
Represents the context data for Sitecore rendering logic.
Inheritance
System.Object
SitecoreRenderingContext
Implements
Namespace: Sitecore.AspNet.RenderingEngine
Assembly: Sitecore.AspNet.RenderingEngine.dll
Syntax
public class SitecoreRenderingContext : Object, ISitecoreRenderingContext
Constructors
SitecoreRenderingContext()
Declaration
public SitecoreRenderingContext()
Properties
Component
Gets or sets the current Component.
Declaration
public Component Component { get; set; }
Property Value
Type | Description |
---|---|
Component |
Controller
Gets or sets the current Microsoft.AspNetCore.Mvc.ControllerBase.
Declaration
public ControllerBase Controller { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Mvc.ControllerBase |
Response
Gets or sets the current SitecoreLayoutResponse.
Declaration
public SitecoreLayoutResponse Response { get; set; }
Property Value
Type | Description |
---|---|
SitecoreLayoutResponse |