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
-
ILayoutRequestHandlerBuilder<THandler>
- 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
stringThe name of the handler being configured.
services
IServiceCollectionThe initial IServiceCollection.
Properties
HandlerName
Gets the name of the handler being configured.
public string HandlerName { get; }
Property Value
Services
Gets the IServiceCollection where Sitecore layout services are configured.
public IServiceCollection Services { get; }