Class SitecoreLayoutComponentFieldBindingSource
このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。
Sitecoreコンポーネント フィールドデータをバインディングするためのバインディングソース。
相続
System.Object
SitecoreLayoutComponentFieldBindingSource
継承メンバー
SitecoreLayoutBindingSource.GetPropertyModel(ModelBindingContext, T)
SitecoreLayoutBindingSource.GetFieldModel(ModelBindingContext, T, Route)
SitecoreLayoutBindingSource.Name
名前空間。AspNet.RenderingEngine.Binding.Sources。
アセンブリ。AspNet.RenderingEngine.dll
構文論
public class SitecoreLayoutComponentFieldBindingSource : SitecoreLayoutBindingSource
コンストラクター
SitecoreLayoutComponentFieldBindingSource()
SitecoreLayoutComponentFieldBindingSourceクラスの新しいインスタンスを初期化します。
宣言
public SitecoreLayoutComponentFieldBindingSource()
SitecoreLayoutComponentFieldBindingSource(String)
SitecoreLayoutComponentFieldBindingSourceクラスの新しいインスタンスを初期化します。
宣言
public SitecoreLayoutComponentFieldBindingSource(string name)
パラメータ
種類
名称
概要
System.String
名称
Sitecoreコンポーネント内でバインディングに使うフィールド名。
SitecoreLayoutComponentFieldBindingSource(String, String, Boolean, Boolean)
SitecoreLayoutComponentFieldBindingSourceクラスの新しいインスタンスを初期化します。
宣言
public SitecoreLayoutComponentFieldBindingSource(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
背景
返還
種類
概要
System.Object
バウンドモデルです。