クラスSitecoreLayoutContextPropertyBindingSource
このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。
Sitecoreコンテキスト プロパティデータをバインディングするためのバインディングソース。
相続
System.Object
SitecoreLayoutContextPropertyBindingSource
継承メンバー
SitecoreLayoutBindingSource.GetPropertyModel(ModelBindingContext, T)
SitecoreLayoutBindingSource.GetFieldModel(ModelBindingContext, T, Route)
SitecoreLayoutBindingSource.Name
名前空間。AspNet.RenderingEngine.Binding.Sources。
アセンブリ。AspNet.RenderingEngine.dll
構文論
public class SitecoreLayoutContextPropertyBindingSource : SitecoreLayoutBindingSource
コンストラクター
SitecoreLayoutContextPropertyBindingSource(String)
SitecoreLayoutContextPropertyBindingSourceクラスの新しいインスタンスを初期化します。
宣言
public SitecoreLayoutContextPropertyBindingSource(string name)
パラメータ
種類
名称
概要
System.String
名称
バインディングに使うためのプロパティ名は、Sitecoreの文脈で使います。
方法
GetModel(IServiceProvider, ModelBindingContext, ISitecoreRenderingContext)
バインディング用のモデルを手に入れます。
宣言
public override object GetModel(IServiceProvider serviceProvider, ModelBindingContext bindingContext, ISitecoreRenderingContext renderingContext)
パラメータ
種類
名称
概要
System.IServiceProvider
サービスプロバイダー
システム.IServiceProvider。
Microsoft。AspNetCore.Mvc.ModelBinding.ModelBindingContext
バインディングコンテキスト
Microsoft。AspNetCore.Mvc.ModelBinding.ModelBindingContext.
ISitecoreRenderingContext
レンダリングコンテキスト
返還
種類
概要
System.Object
バウンドモデルです。