Interface IMapRequest<T>

Version: 21.x

Contract for mapping SitecoreLayoutRequest entries to an object of the given type.

Namespace: Sitecore.LayoutService.Client
Assembly: Sitecore.LayoutService.Client.Abstractions.dll
Syntax
RequestResponse
public interface IMapRequest<T>
    where T : class
Type Parameters
NameDescription
T

The type the request is mapped to.

Properties

RequestMap

Gets or sets the list of mappings from a SitecoreLayoutRequest to T.

Declaration
RequestResponse
List<Action<SitecoreLayoutRequest, T>> RequestMap { get; set; }
Property Value
TypeDescription
System.Collections.Generic.List<System.Action<SitecoreLayoutRequest, T>>

Do you have some feedback for us?

If you have suggestions for improving this article,