Class SitecoreLayoutComponentPropertyBindingSource

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

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

Sitecoreコンポーネント プロパティデータをバインドするためのバインディングソース。

相続

System.Object

SitecoreLayoutBindingSource

SitecoreLayoutComponentPropertyBindingSource

継承メンバー

SitecoreLayoutBindingSource.GetPropertyModel(ModelBindingContext, T)

SitecoreLayoutBindingSource.GetFieldModel(ModelBindingContext, T, Route)

SitecoreLayoutBindingSource.Name

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

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

public class SitecoreLayoutComponentPropertyBindingSource : SitecoreLayoutBindingSource

コンストラクター

SitecoreLayoutComponentPropertyBindingSource(String)

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

宣言

public SitecoreLayoutComponentPropertyBindingSource(string name)

パラメータ

種類

名称

概要

System.String

名称

バインディングに使うプロパティ名をSitecoreコンポーネントで使います。

方法

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)

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