Show / Hide Table of Contents

Interface ISitecoreRenderingContext

Represents the context data for Sitecore rendering logic.

Namespace: Sitecore.AspNet.RenderingEngine
Assembly: Sitecore.AspNet.RenderingEngine.Abstractions.dll
Syntax
public interface ISitecoreRenderingContext

Properties

Component

Gets or sets the current Component.

Declaration
Component Component { get; set; }
Property Value
Type Description
Component

Controller

Gets or sets the current Microsoft.AspNetCore.Mvc.ControllerBase.

Declaration
ControllerBase Controller { get; set; }
Property Value
Type Description
Microsoft.AspNetCore.Mvc.ControllerBase

Response

Gets or sets the current SitecoreLayoutResponse.

Declaration
SitecoreLayoutResponse Response { get; set; }
Property Value
Type Description
SitecoreLayoutResponse

Extension Methods

HttpContextExtensions.UpdateResponseWithLayoutMetadata(ISitecoreRenderingContext, HttpContext)
Back to top Generated by DocFX