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 ISitecoreLayoutRequestMapperMethods
Map(HttpRequest)
Maps a Microsoft.AspNetCore.Http.HttpRequest to a SitecoreLayoutRequest.
Declaration
RequestResponse
SitecoreLayoutRequest Map(HttpRequest request)Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.AspNetCore.Http.HttpRequest | request |
The Microsoft.AspNetCore.Http.HttpRequest to map. |
Returns
| Type | Description |
|---|---|
| SitecoreLayoutRequest |
A mapped SitecoreLayoutRequest. |