Class ContentModelBinderProvider
The provider for ContentModelBinder mapping view models, supporting mapping to and from any IPublishedContent or IContentModel.
Inheritance
object
Namespace: Umbraco.Cms.Web.Common.ModelBinders
Assembly: Umbraco.Web.Common.dll
Syntax
public class ContentModelBinderProvider
Constructors
View SourceContentModelBinderProvider()
Declaration
public ContentModelBinderProvider()
Methods
View SourceGetBinder(ModelBinderProviderContext)
Declaration
public IModelBinder? GetBinder(ModelBinderProviderContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ModelBinderProviderContext | context |
Returns
| Type | Description |
|---|---|
| IModelBinder |