Table of Contents

Class SitecoreComponentParameterAttribute

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

Binds a Sitecore Component parameter.

[AttributeUsage(AttributeTargets.Property|AttributeTargets.Parameter)]
public class SitecoreComponentParameterAttribute : Attribute, IBindingSourceMetadata
Inheritance
SitecoreComponentParameterAttribute
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.

Name

Gets or sets the rendering parameter name to use for binding.

public string Name { get; set; }

Property Value

string