クラスRenderingEngineMiddleware

日本語翻訳に関する免責事項

このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。

Sitecoreレイアウトサービスを呼び出し、ISitecoreRenderingContextをMicrosoftとして保存するRendering Engineミドルウェア実装です。AspNetCore.Http.HttpContext機能。

相続

System.Object

RenderingEngineMiddleware

名前空間
。AspNet.レンダリングエンジン.ミドルウェア

アセンブリ
。AspNet.RenderingEngine.dll

構文論

public class RenderingEngineMiddleware : Object

コンストラクター

RenderingEngineMiddleware(RequestDelegate, ISitecoreLayoutRequestMapper, ISitecoreLayoutClient, IOptions)

RenderingEngineMiddlewareクラスの新しいインスタンスを初期化します。

宣言

public RenderingEngineMiddleware(RequestDelegate next, ISitecoreLayoutRequestMapper requestMapper, ISitecoreLayoutClient layoutService, IOptions options)

パラメータ

種類

名称

概要

Microsoft。AspNetCore.Http.RequestDelegate

次へ

次に呼ぶミドルウェア。

ISitecoreLayoutRequestMapper

requestMapper

ISitecoreLayoutRequestMapperは、HttpRequestをレイアウトサービスリクエストにマッピングします。

ISitecoreLayoutClient

レイアウトサービス

レイアウトサービスクライアント。

Microsoft。拡張・オプション・IOptions

<

RenderingEngineOptions

>

オプション

レンダリングエンジンのオプション。

方法

Invoke(HttpContext, IViewComponentHelper, IHtmlHelper)

ミドルウェアのInvokeメソッド。

宣言

public Task Invoke(HttpContext httpContext, IViewComponentHelper viewComponentHelper, IHtmlHelper htmlHelper)

パラメータ

種類

名称

概要

Microsoft。AspNetCore.http.HttpContext

httpコンテキスト

現在のMicrosoft。AspNetCore.http.HttpContext。

Microsoft.AspNetCore.Mvc.IViewComponentHelper

viewComponentHelper

現在のMicrosoft。AspNetCore.Mvc.IViewComponentHelper。

Microsoft。AspNetCore.Mvc.Rendering.IHtmlHelper

htmlHelper

現在のMicrosoft。AspNetCore.Mvc.Rendering.IHtmlHelper。

返還

種類

概要

System.Threading.Tasks.Task

非同期コールをサポートするSystem.Threading.Tasks.Taskです。

この記事を改善するための提案がある場合は、 お知らせください!