Table of Contents

Class SitecoreRenderingContext

Namespace
Sitecore.AspNetCore.SDK.RenderingEngine.Rendering
Assembly
Sitecore.AspNetCore.SDK.RenderingEngine.dll

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

public class SitecoreRenderingContext : ISitecoreRenderingContext
Inheritance
SitecoreRenderingContext
Implements
Inherited Members
Extension Methods

Properties

Component

Gets or sets the current Component.

public Component? Component { get; set; }

Property Value

Component

Controller

Gets or sets the current ControllerBase.

public ControllerBase? Controller { get; set; }

Property Value

ControllerBase

RenderingHelpers

Gets or sets the current RenderingHelpers.

public RenderingHelpers? RenderingHelpers { get; set; }

Property Value

RenderingHelpers

Response

Gets or sets the current SitecoreLayoutResponse.

public SitecoreLayoutResponse? Response { get; set; }

Property Value

SitecoreLayoutResponse