Show / Hide Table of Contents

Class SitecoreLayoutComponentFieldsBindingSource

Binding source for binding Sitecore Component fields.

Inheritance
System.Object
SitecoreLayoutBindingSource
SitecoreLayoutComponentFieldsBindingSource
Inherited Members
SitecoreLayoutBindingSource.GetPropertyModel<T>(ModelBindingContext, T)
SitecoreLayoutBindingSource.GetFieldModel<T>(ModelBindingContext, T, Route)
SitecoreLayoutBindingSource.Name
Namespace: Sitecore.AspNet.RenderingEngine.Binding.Sources
Assembly: Sitecore.AspNet.RenderingEngine.dll
Syntax
public class SitecoreLayoutComponentFieldsBindingSource : SitecoreLayoutBindingSource

Constructors

SitecoreLayoutComponentFieldsBindingSource()

Initializes a new instance of the SitecoreLayoutComponentFieldsBindingSource class.

Declaration
public SitecoreLayoutComponentFieldsBindingSource()

Methods

GetModel(IServiceProvider, ModelBindingContext, ISitecoreRenderingContext)

Gets the model for binding.

Declaration
public override object GetModel(IServiceProvider serviceProvider, ModelBindingContext bindingContext, ISitecoreRenderingContext context)
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
SitecoreLayoutBindingSource.GetModel(IServiceProvider, ModelBindingContext, ISitecoreRenderingContext)
Back to top Generated by DocFX