Class SitecoreLayoutRouteFieldsBindingSource
Version: 21.x
Binding source for binding Sitecore Route fields.
Inheritance
System.Object
SitecoreLayoutRouteFieldsBindingSource
Inherited Members
SitecoreLayoutBindingSource.GetPropertyModel
SitecoreLayoutBindingSource.GetFieldModel
SitecoreLayoutBindingSource.Name
Namespace: Sitecore.AspNet.RenderingEngine.Binding.Sources
Assembly: Sitecore.AspNet.RenderingEngine.dll
Syntax
Constructors
SitecoreLayoutRouteFieldsBindingSource()
Initializes a new instance of the SitecoreLayoutRouteFieldsBindingSource class.
Declaration
Methods
GetModel(IServiceProvider, ModelBindingContext, ISitecoreRenderingContext)
Gets the model for binding.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| System.IServiceProvider | serviceProvider | The System.IServiceProvider. |
| Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext | bindingContext | The Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext. |
| ISitecoreRenderingContext | context | The ISitecoreRenderingContext. |
Returns
| Type | Description |
|---|---|
| System.Object | The bound model. |
Overrides
If you have suggestions for improving this article, let us know!