Class SitecoreLayoutClientOptions
Version: 21.x
Options to control the Sitecore DefaultLayoutClient.
Inheritance
System.Object
SitecoreLayoutClientOptions
Namespace: Sitecore.LayoutService.Client
Assembly: Sitecore.LayoutService.Client.dll
Syntax
RequestResponse
public class SitecoreLayoutClientOptions : ObjectConstructors
SitecoreLayoutClientOptions()
Declaration
RequestResponse
public SitecoreLayoutClientOptions()Properties
DefaultHandler
Gets or sets the default handler name for requests.
Declaration
RequestResponse
public string DefaultHandler { get; set; }Property Value
| Type | Description |
|---|---|
| System.String |
HandlerRegistry
Gets or sets the registry of Sitecore layout service request handlers.
Declaration
RequestResponse
public Dictionary<string, Func<IServiceProvider, ILayoutRequestHandler>> HandlerRegistry { get; set; }Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.Dictionary<System.String, System.Func<System.IServiceProvider, ILayoutRequestHandler>> |