Class SitecoreLayoutRequestHandlerBuilder
Version: 21.x
Contract for configuring named Sitecore layout service request handlers.
Inheritance
System.Object
SitecoreLayoutRequestHandlerBuilder
Implements
Namespace: Sitecore.LayoutService.Client
Assembly: Sitecore.LayoutService.Client.dll
Syntax
Type Parameters
| Name | Description |
|---|---|
| THandler | The type of handler being configured. |
Constructors
SitecoreLayoutRequestHandlerBuilder(String, IServiceCollection)
Initializes a new instance of the SitecoreLayoutRequestHandlerBuilder
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | handlerName | The name of the handler being configured. |
| Microsoft.Extensions.DependencyInjection.IServiceCollection | services | The initial Microsoft.Extensions.DependencyInjection.IServiceCollection. |
Properties
HandlerName
Gets the name of the handler being configured.
Declaration
Property Value
| Type | Description |
|---|---|
| System.String |
Services
Gets the Microsoft.Extensions.DependencyInjection.IServiceCollection where Sitecore layout services are configured.
Declaration
Property Value
| Type | Description |
|---|---|
| Microsoft.Extensions.DependencyInjection.IServiceCollection |
Implements
If you have suggestions for improving this article, let us know!