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
public class SitecoreLayoutClientOptions : Object

Constructors

SitecoreLayoutClientOptions()

Declaration
public SitecoreLayoutClientOptions()

Properties

DefaultHandler

Gets or sets the default handler name for requests.

Declaration
public string DefaultHandler { get; set; }
Property Value
TypeDescription
System.String

HandlerRegistry

Gets or sets the registry of Sitecore layout service request handlers.

Declaration
public Dictionary<string, Func<IServiceProvider, ILayoutRequestHandler>> HandlerRegistry { get; set; }
Property Value
TypeDescription
System.Collections.Generic.Dictionary

<

System.String

,

System.Func

<

System.IServiceProvider

,

ILayoutRequestHandler

>>
If you have suggestions for improving this article, let us know!