Table of Contents

Class SitecoreLayoutRouteFieldsBindingSource

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

Binding source for binding Sitecore Route fields.

public class SitecoreLayoutRouteFieldsBindingSource : SitecoreLayoutBindingSource, IEquatable<BindingSource?>
Inheritance
SitecoreLayoutRouteFieldsBindingSource
Implements
Inherited Members

Constructors

SitecoreLayoutRouteFieldsBindingSource()

Initializes a new instance of the SitecoreLayoutRouteFieldsBindingSource class.

public SitecoreLayoutRouteFieldsBindingSource()

Methods

GetModel(IServiceProvider, ModelBindingContext, ISitecoreRenderingContext)

Gets the model for binding.

public override object? GetModel(IServiceProvider serviceProvider, ModelBindingContext bindingContext, ISitecoreRenderingContext context)

Parameters

serviceProvider IServiceProvider

The IServiceProvider.

bindingContext ModelBindingContext

The ModelBindingContext.

context ISitecoreRenderingContext

The ISitecoreRenderingContext.

Returns

object

The bound model.