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