BinderTypeBasedModelBinder Class

Summary

An [Microsoft.AspNet.Mvc.ModelBinding.IModelBinder]() which can bind a model based on the value of [Microsoft.AspNet.Mvc.ModelBinding.ModelMetadata.BinderType](). The supplied [Microsoft.AspNet.Mvc.ModelBinding.IModelBinder]() type will be used to bind the model.

Syntax

public class BinderTypeBasedModelBinder : IModelBinder

GitHub

View on GitHub

class Microsoft.AspNet.Mvc.ModelBinding.BinderTypeBasedModelBinder

Methods

BindModelAsync(Microsoft.AspNet.Mvc.ModelBinding.ModelBindingContext)
Arguments:
Return type:

System.Threading.Tasks.Task{Microsoft.AspNet.Mvc.ModelBinding.ModelBindingResult}

public Task<ModelBindingResult> BindModelAsync(ModelBindingContext bindingContext)