ComplexTypeModelBinder Class

Definition

IModelBinder implementation for binding complex types.

public ref class ComplexTypeModelBinder : Microsoft::AspNetCore::Mvc::ModelBinding::IModelBinder
public class ComplexTypeModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder
type ComplexTypeModelBinder = class
    interface IModelBinder
Public Class ComplexTypeModelBinder
Implements IModelBinder
Inheritance
ComplexTypeModelBinder
Implements

Constructors

ComplexTypeModelBinder(IDictionary<ModelMetadata,IModelBinder>)

This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that also takes an ILoggerFactory.

Creates a new ComplexTypeModelBinder.

ComplexTypeModelBinder(IDictionary<ModelMetadata,IModelBinder>, ILoggerFactory)

Creates a new ComplexTypeModelBinder.

ComplexTypeModelBinder(IDictionary<ModelMetadata,IModelBinder>, ILoggerFactory, Boolean)

Creates a new ComplexTypeModelBinder.

Methods

BindModelAsync(ModelBindingContext)
BindProperty(ModelBindingContext)

Attempts to bind a property of the model.

CanBindProperty(ModelBindingContext, ModelMetadata)

Gets a value indicating whether or not the model property identified by propertyMetadata can be bound.

CreateModel(ModelBindingContext)

Creates suitable Object for given bindingContext.

SetProperty(ModelBindingContext, String, ModelMetadata, ModelBindingResult)

Updates a property in the current Model.

Applies to