Class RoutedContentDataModelBinderProvider
Provides a Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder that handles model binding of routed IContent
Inheritance
System.Object
RoutedContentDataModelBinderProvider
Implements
Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider
Namespace: EPiServer.Web.Mvc.Internal
Assembly: EPiServer.Cms.AspNetCore.Mvc.dll
Version: 12.0.3Syntax
public class RoutedContentDataModelBinderProvider : Object, IModelBinderProvider
Constructors
RoutedContentDataModelBinderProvider()
Declaration
public RoutedContentDataModelBinderProvider()
Methods
GetBinder(ModelBinderProviderContext)
Get a binder for routed IContent
Declaration
public IModelBinder GetBinder(ModelBinderProviderContext context)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext | context | Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext |
Returns
Type | Description |
---|---|
Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder |
Implements
Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderProvider