Table of Contents

Class SitecoreLayoutClientOptions

Namespace
Sitecore.AspNetCore.SDK.LayoutService.Client.Configuration
Assembly
Sitecore.AspNetCore.SDK.LayoutService.Client.dll

Options to control the Sitecore DefaultLayoutClient.

public class SitecoreLayoutClientOptions
Inheritance
SitecoreLayoutClientOptions
Inherited Members

Properties

DefaultHandler

Gets or sets the default handler name for requests.

public string? DefaultHandler { get; set; }

Property Value

string

HandlerRegistry

Gets the registry of Sitecore layout service request handlers.

public Dictionary<string, Func<IServiceProvider, ILayoutRequestHandler>> HandlerRegistry { get; init; }

Property Value

Dictionary<string, Func<IServiceProvider, ILayoutRequestHandler>>