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 : Object

Constructors

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
TypeDescription
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
TypeDescription
System.Collections.Generic.Dictionary<System.String, System.Func<System.IServiceProvider, ILayoutRequestHandler>>

Do you have some feedback for us?

If you have suggestions for improving this article,