ComplexTypeModelBinder Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This type is obsolete and will be removed in a future version. Use ComplexObjectModelBinder instead.
IModelBinder implementation for binding complex types.
public ref class ComplexTypeModelBinder : Microsoft::AspNetCore::Mvc::ModelBinding::IModelBinder
public class ComplexTypeModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder
[System.Obsolete("This type is obsolete and will be removed in a future version. Use ComplexObjectModelBinder instead.")]
public class ComplexTypeModelBinder : Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder
type ComplexTypeModelBinder = class
interface IModelBinder
[<System.Obsolete("This type is obsolete and will be removed in a future version. Use ComplexObjectModelBinder instead.")>]
type ComplexTypeModelBinder = class
interface IModelBinder
Public Class ComplexTypeModelBinder
Implements IModelBinder
- Inheritance
-
ComplexTypeModelBinder
- Attributes
- Implements
Constructors
ComplexTypeModelBinder(IDictionary<ModelMetadata,IModelBinder>) |
Obsolete.
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) |
Attempts to bind a model. |
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 |
CreateModel(ModelBindingContext) |
Creates suitable Object for given |
SetProperty(ModelBindingContext, String, ModelMetadata, ModelBindingResult) |
Updates a property in the current Model. |