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
RequestResponse
public interface ISitecoreLayoutRequestMapper

Methods

Map(HttpRequest)

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

Declaration
RequestResponse
SitecoreLayoutRequest Map(HttpRequest request)
Parameters
TypeNameDescription
Microsoft.AspNetCore.Http.HttpRequestrequest

The Microsoft.AspNetCore.Http.HttpRequest to map.

Returns
TypeDescription
SitecoreLayoutRequest

A mapped SitecoreLayoutRequest.

Do you have some feedback for us?

If you have suggestions for improving this article,