Class SitecoreRoutePropertyAttribute
Version: 21.x
Binds a Sitecore Route property.
Inheritance
System.Object
SitecoreRoutePropertyAttribute
Implements
Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata
Namespace: Sitecore.AspNet.RenderingEngine.Binding.Attributes
Assembly: Sitecore.AspNet.RenderingEngine.dll
Syntax
Constructors
SitecoreRoutePropertyAttribute()
Declaration
Properties
BindingSource
Declaration
Property Value
| Type | Description |
|---|---|
| Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource |
Name
Gets or sets the name of the route property to use for binding.
Declaration
Property Value
| Type | Description |
|---|---|
| System.String |
Implements
Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata