Interface IMapRequest<T>
- Namespace
- Sitecore.AspNetCore.SDK.LayoutService.Client.Interfaces
- Assembly
- Sitecore.AspNetCore.SDK.LayoutService.Client.dll
Contract for mapping SitecoreLayoutRequest entries to an object of the given type.
public interface IMapRequest<T> where T : class
Type Parameters
T
The type the request is mapped to.
Properties
RequestMap
Gets the list of mappings from a SitecoreLayoutRequest to T.
List<Action<SitecoreLayoutRequest, T>> RequestMap { get; init; }