---
title: "Interface IMapRequest<T>"
slug: "sitecore.layoutservice.client.imaprequest-1"
abstract: ""
---
# Interface IMapRequest<T>

Contract for mapping [SitecoreLayoutRequest](https://doc.sitecore.com/xp/en/developers/hd/21/sitecore-asp-dot-net-rendering-sdk/sitecore.layoutservice.client.request.sitecorelayoutrequest.html) entries to an object of the given type.

## **Namespace**: Sitecore.LayoutService.Client

### **Assembly**: Sitecore.LayoutService.Client.Abstractions.dll

#### Syntax

```csharp
public interface IMapRequest<T>
    where T : class

```

##### Type Parameters

| Name | Description |
| --- | --- |
| T | The type the request is mapped to. |

### Properties

#### RequestMap

Gets or sets the list of mappings from a [SitecoreLayoutRequest](https://doc.sitecore.com/xp/en/developers/hd/21/sitecore-asp-dot-net-rendering-sdk/sitecore.layoutservice.client.request.sitecorelayoutrequest.html) to T.

##### Declaration

```csharp
List<Action<SitecoreLayoutRequest, T>> RequestMap { get; set; }

```

##### Property Value

| Type | Description |
| --- | --- |
| System.Collections.Generic.List<br><br><<br><br>System.Action<br><br><<br><br>SitecoreLayoutRequest<br><br>, T>> |  |
