ServicesModelBinder Class¶
Summary¶
An [Microsoft.AspNet.Mvc.ModelBinding.IModelBinder]() which binds models from the request services when a model has the binding source [Microsoft.AspNet.Mvc.ModelBinding.BindingSource.Services]()/
Constructors¶
-
Microsoft.AspNet.Mvc.ModelBinding.ServicesModelBinder.ServicesModelBinder()
Creates a new [Microsoft.AspNet.Mvc.ModelBinding.ServicesModelBinder](Microsoft.AspNet.Mvc.ModelBinding.ServicesModelBinder.yml).
public ServicesModelBinder()
-
Methods¶
-
BindModelCoreAsync
(Microsoft.AspNet.Mvc.ModelBinding.ModelBindingContext)¶ Arguments: - bindingContext (Microsoft.AspNet.Mvc.ModelBinding.ModelBindingContext) –
Return type: System.Threading.Tasks.Task{Microsoft.AspNet.Mvc.ModelBinding.ModelBindingResult}
protected override Task<ModelBindingResult> BindModelCoreAsync(ModelBindingContext bindingContext)
-