Table of Contents

Class SitecoreComponentFieldsAttribute

Namespace
Sitecore.AspNetCore.SDK.RenderingEngine.Binding.Attributes
Assembly
Sitecore.AspNetCore.SDK.RenderingEngine.dll

Binds all fields for a Sitecore Component.

[AttributeUsage(AttributeTargets.Property|AttributeTargets.Parameter)]
public class SitecoreComponentFieldsAttribute : Attribute, IBindingSourceMetadata
Inheritance
SitecoreComponentFieldsAttribute
Implements
Inherited Members

Properties

BindingSource

Gets the BindingSource.

public BindingSource BindingSource { get; }

Property Value

BindingSource

Remarks

The BindingSource is metadata which can be used to determine which data sources are valid for model binding of a property or parameter.