---
title: "クラスSitecoreLayoutRequestHandlerBuilder"
slug: "sitecore.layoutservice.client.sitecorelayoutrequesthandlerbuilder-1"
abstract: ""
---
# クラスSitecoreLayoutRequestHandlerBuilder

名前付きSitecoreレイアウトサービスリクエストハンドラの設定に関する契約。

## 相続

System.Object

SitecoreLayoutRequestHandlerBuilder

### 実装

[ILayoutRequestHandlerBuilder](https://doc.sitecore.com/xp/ja/developers/hd/21/sitecore-asp-dot-net-rendering-sdk/sitecore.layoutservice.client.ilayoutrequesthandlerbuilder-1.html)

#### **名前空間**:Sitecore。LayoutService.クライアント

##### **アセンブリ**:Sitecore。LayoutService.Client.dll

##### 構文論

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

##### 型パラメータ

名称

概要

サンドラー

設定されているハンドラーのタイプ。

### コンストラクター

#### SitecoreLayoutRequestHandlerBuilder(String, IServiceCollection)

[SitecoreLayoutRequestHandlerBuilder](https://doc.sitecore.com/xp/ja/developers/hd/21/sitecore-asp-dot-net-rendering-sdk/sitecore.layoutservice.client.sitecorelayoutrequesthandlerbuilder-1.html)クラスの新しいインスタンスを初期化します。

##### 宣言

public SitecoreLayoutRequestHandlerBuilder(string handlerName, IServiceCollection services)

##### パラメータ

種類

名称

概要

System.String

ハンドラーネーム

ハンドラーの名前が設定されている。

Microsoft。拡張。DependencyInjection.IServiceCollection

サービス

最初のMicrosoft.拡張機能。DependencyInjection.IServiceCollection。

### 性質

#### ハンドラーネーム

設定中のハンドラーの名前を取得。

##### 宣言

public string HandlerName { get; }

##### 不動産価値

種類

概要

System.String

#### サービス

Microsoft。拡張、DependencyInjection、IServiceCollection、Sitecoreレイアウトサービスが設定されている。

##### 宣言

public IServiceCollection Services { get; }

##### 不動産価値

種類

概要

Microsoft。拡張。DependencyInjection.IServiceCollection

### 実装

[ILayoutRequestHandlerBuilder](https://doc.sitecore.com/xp/ja/developers/hd/21/sitecore-asp-dot-net-rendering-sdk/sitecore.layoutservice.client.ilayoutrequesthandlerbuilder-1.html)