Table of Contents

Class SitecoreLayoutRequestHandlerBuilder<THandler>

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

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

public class SitecoreLayoutRequestHandlerBuilder<THandler> : ILayoutRequestHandlerBuilder<THandler> where THandler : ILayoutRequestHandler

Type Parameters

THandler
Inheritance
SitecoreLayoutRequestHandlerBuilder<THandler>
Implements
Inherited Members
Extension Methods

Constructors

SitecoreLayoutRequestHandlerBuilder(string, IServiceCollection)

Initializes a new instance of the SitecoreLayoutRequestHandlerBuilder<THandler> class.

public SitecoreLayoutRequestHandlerBuilder(string handlerName, IServiceCollection services)

Parameters

handlerName string

The name of the handler being configured.

services IServiceCollection

The initial IServiceCollection.

Properties

HandlerName

Gets the name of the handler being configured.

public string HandlerName { get; }

Property Value

string

Services

Gets the IServiceCollection where Sitecore layout services are configured.

public IServiceCollection Services { get; }

Property Value

IServiceCollection