Class SitecoreLayoutRouteBindingSource
- Namespace
- Sitecore.AspNetCore.SDK.RenderingEngine.Binding.Sources
- Assembly
- Sitecore.AspNetCore.SDK.RenderingEngine.dll
Binding source for binding Sitecore Route data.
public class SitecoreLayoutRouteBindingSource : SitecoreLayoutBindingSource, IEquatable<BindingSource?>
- Inheritance
-
SitecoreLayoutRouteBindingSource
- Implements
- Inherited Members
Constructors
SitecoreLayoutRouteBindingSource()
Initializes a new instance of the SitecoreLayoutRouteBindingSource class.
public SitecoreLayoutRouteBindingSource()
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.