Interface ISitecoreLayoutRequestMapper

Version: 21.x

Contract for implementing the mapping logic from a Microsoft.AspNetCore.Http.HttpRequest to a SitecoreLayoutRequest.

Namespace: Sitecore.AspNet.RenderingEngine

Assembly: Sitecore.AspNet.RenderingEngine.Abstractions.dll

Syntax

public interface ISitecoreLayoutRequestMapper

Methods

Map(HttpRequest)

Maps a Microsoft.AspNetCore.Http.HttpRequest to a SitecoreLayoutRequest.

Declaration
SitecoreLayoutRequest Map(HttpRequest request)
Parameters
TypeNameDescription
Microsoft.AspNetCore.Http.HttpRequestrequestThe Microsoft.AspNetCore.Http.HttpRequest to map.
Returns
TypeDescription
SitecoreLayoutRequestA mapped SitecoreLayoutRequest.
If you have suggestions for improving this article, let us know!