クラスSitecoreLayoutBindingSource
このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。
Sitecoreレイアウトデータのバインドのためのユーティリティ。
相続
System.Object
SitecoreLayoutBindingSource
SitecoreLayoutComponentBindingSource
SitecoreLayoutComponentFieldBindingSource
SitecoreLayoutComponentFieldsBindingSource
SitecoreLayoutComponentPropertyBindingSource
SitecoreLayoutContextBindingSource
SitecoreLayoutContextPropertyBindingSource
SitecoreLayoutResponseBindingSource
SitecoreLayoutRouteBindingSource
SitecoreLayoutRouteFieldBindingSource
SitecoreLayoutRouteFieldsBindingSource
SitecoreLayoutRoutePropertyBindingSource
名前空間。AspNet.RenderingEngine.Binding.Sources。
アセンブリ。AspNet.RenderingEngine.dll
構文論
public abstract class SitecoreLayoutBindingSource : BindingSource
コンストラクター
SitecoreLayoutBindingSource(String, String, Boolean, Boolean)
SitecoreLayoutBindingSourceクラスの新しいインスタンスを初期化します。
宣言
protected SitecoreLayoutBindingSource(string id, string displayName, bool isGreedy, bool isFromRequest)
パラメータ
種類
名称
概要
System.String
ID
バインディングソースID。
System.String
displayName
ディスプレイ名。
System.Boolean(システム・ブール)
isGreedy
この値は、その情報源が貪欲かどうかを示すものです。
System.Boolean(システム・ブール)
isFromRequest(リクエストから)
データがHTTPリクエストから来ているかどうかを示す値です。
性質
名称
バインディングソース名を取得するか設定します。
宣言
public string Name { get; set; }
不動産価値
種類
概要
System.String
方法
GetFieldModel(ModelBindingContext, T, Route)
オブジェクトのフィールドの値を取り出します。
宣言
protected object GetFieldModel
パラメータ
種類
名称
概要
Microsoft。AspNetCore.Mvc.ModelBinding.ModelBindingContext
バインディングコンテキスト
Microsoft。AspNetCore.Mvc.ModelBinding.ModelBindingContext.
T
出典
処理するソースオブジェクト。
ルート
現在のルート
現在のページのルート。
返還
種類
概要
System.Object
フィールドオブジェクト。
型パラメータ
名称
概要
T
ソースオブジェクトの種類。
GetModel(IServiceProvider, ModelBindingContext, ISitecoreRenderingContext)
バインディング用のモデルを手に入れます。
宣言
public abstract object GetModel(IServiceProvider serviceProvider, ModelBindingContext bindingContext, ISitecoreRenderingContext context)
パラメータ
種類
名称
概要
System.IServiceProvider
サービスプロバイダー
システム.IServiceProvider。
Microsoft。AspNetCore.Mvc.ModelBinding.ModelBindingContext
バインディングコンテキスト
Microsoft。AspNetCore.Mvc.ModelBinding.ModelBindingContext.
ISitecoreRenderingContext
背景
返還
種類
概要
System.Object
バウンドモデルです。
GetPropertyModel(ModelBindingContext, T)
オブジェクトのプロパティの値を取得します。
宣言
protected object GetPropertyModel
パラメータ
種類
名称
概要
Microsoft。AspNetCore.Mvc.ModelBinding.ModelBindingContext
バインディングコンテキスト
Microsoft。AspNetCore.Mvc.ModelBinding.ModelBindingContext.
T
出典
処理するソースオブジェクト。
返還
種類
概要
System.Object
プロパティオブジェクト。
型パラメータ
名称
概要
T
ソースオブジェクトの種類。