ModelBinderProvider.GetBinder Method
Finds a binder for the given type.
Namespace: System.Web.Http.ModelBinding
Assembly: System.Web.Http (in System.Web.Http.dll)
public abstract function GetBinder( configuration : HttpConfiguration, modelType : Type ) : IModelBinder
Parameters
- configuration
- Type: System.Web.Http.HttpConfiguration
A configuration object.
- modelType
- Type: System.Type
The type of the model to bind against.
Return Value
Type: System.Web.Http.ModelBinding.IModelBinderA binder, which can attempt to bind this type. Or null if the binder knows statically that it will never be able to bind the type.
Show: