Class SitecoreContextAttribute
- Namespace
- Sitecore.AspNetCore.SDK.RenderingEngine.Binding.Attributes
- Assembly
- Sitecore.AspNetCore.SDK.RenderingEngine.dll
Binds a Sitecore Context object.
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Parameter)]
public class SitecoreContextAttribute : Attribute, IBindingSourceMetadata
- Inheritance
-
SitecoreContextAttribute
- Implements
- Inherited Members
Properties
BindingSource
Gets the BindingSource.
public BindingSource BindingSource { get; }
Property Value
Remarks
The BindingSource is metadata which can be used to determine which data sources are valid for model binding of a property or parameter.