Table of Contents

Interface ISitecoreRenderingContext

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

Represents the context data for Sitecore rendering logic.

public interface ISitecoreRenderingContext
Extension Methods

Properties

Component

Gets or sets the current Component.

Component? Component { get; set; }

Property Value

Component

Controller

Gets or sets the current ControllerBase.

ControllerBase? Controller { get; set; }

Property Value

ControllerBase

RenderingHelpers

Gets or sets the current RenderingHelpers.

RenderingHelpers? RenderingHelpers { get; set; }

Property Value

RenderingHelpers

Response

Gets or sets the current SitecoreLayoutResponse.

SitecoreLayoutResponse? Response { get; set; }

Property Value

SitecoreLayoutResponse