クラスSitecoreLayoutRouteFieldBindingSource

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

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

Sitecore Routeフィールドデータのバインディングソース。

相続

System.Object

SitecoreLayoutBindingSource

SitecoreLayoutRouteFieldBindingSource

継承メンバー

SitecoreLayoutBindingSource.GetPropertyModel(ModelBindingContext, T)

SitecoreLayoutBindingSource.GetFieldModel(ModelBindingContext, T, Route)

SitecoreLayoutBindingSource.Name

名前空間
。AspNet.RenderingEngine.Binding.Sources。

アセンブリ
。AspNet.RenderingEngine.dll
構文論

public class SitecoreLayoutRouteFieldBindingSource : SitecoreLayoutBindingSource

コンストラクター

SitecoreLayoutRouteFieldBindingSource(String)

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

宣言

public SitecoreLayoutRouteFieldBindingSource(string name)

パラメータ

種類

名称

概要

System.String

名称

Sitecoreルートでバインディングに使うフィールドの名前。

SitecoreLayoutRouteFieldBindingSource(String, String, Boolean, Boolean)

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

宣言

public SitecoreLayoutRouteFieldBindingSource(string id, string displayName, bool isGreedy, bool isFromRequest)

パラメータ

種類

名称

概要

System.String

ID

バインディングソースID。

System.String

displayName

ディスプレイ名。

System.Boolean(システム・ブール)

isGreedy

この値は、その情報源が貪欲かどうかを示すものです。

System.Boolean(システム・ブール)

isFromRequest(リクエストから)

データがHTTPリクエストから来ているかどうかを示す値です。

方法

GetModel(IServiceProvider, ModelBindingContext, ISitecoreRenderingContext)

バインディング用のモデルを手に入れます。

宣言

public override object GetModel(IServiceProvider serviceProvider, ModelBindingContext bindingContext, ISitecoreRenderingContext context)

パラメータ

種類

名称

概要

System.IServiceProvider

サービスプロバイダー

システム.IServiceProvider。

Microsoft。AspNetCore.Mvc.ModelBinding.ModelBindingContext

バインディングコンテキスト

Microsoft。AspNetCore.Mvc.ModelBinding.ModelBindingContext.

ISitecoreRenderingContext

背景

ISitecoreRenderingContext。

返還

種類

概要

System.Object

バウンドモデルです。

オーバーライド

SitecoreLayoutBindingSource.GetModel(IServiceProvider, ModelBindingContext, ISitecoreRenderingContext)

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