Class SitecoreLayoutComponentFieldsBindingSource
- Namespace
- Sitecore.AspNetCore.SDK.RenderingEngine.Binding.Sources
- Assembly
- Sitecore.AspNetCore.SDK.RenderingEngine.dll
Binding source for binding Sitecore Component fields.
public class SitecoreLayoutComponentFieldsBindingSource : SitecoreLayoutBindingSource, IEquatable<BindingSource?>
- Inheritance
-
SitecoreLayoutComponentFieldsBindingSource
- Implements
- Inherited Members
Constructors
SitecoreLayoutComponentFieldsBindingSource()
Initializes a new instance of the SitecoreLayoutComponentFieldsBindingSource class.
public SitecoreLayoutComponentFieldsBindingSource()
Methods
GetModel(IServiceProvider, ModelBindingContext, ISitecoreRenderingContext)
Gets the model for binding.
public override object? GetModel(IServiceProvider serviceProvider, ModelBindingContext bindingContext, ISitecoreRenderingContext context)
Parameters
serviceProvider
IServiceProviderThe IServiceProvider.
bindingContext
ModelBindingContextThe ModelBindingContext.
context
ISitecoreRenderingContext
Returns
- object
The bound model.