ComplexModelDtoModelBinderProvider.GetBinder Method (ControllerContext, ExtensibleModelBindingContext)
Returns the associated model binder.
Namespace: Microsoft.Web.Mvc.ModelBinding
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
Syntax
public override IExtensibleModelBinder GetBinder(
ControllerContext controllerContext,
ExtensibleModelBindingContext bindingContext
)
public:
virtual IExtensibleModelBinder^ GetBinder(
ControllerContext^ controllerContext,
ExtensibleModelBindingContext^ bindingContext
) override
override GetBinder :
controllerContext:ControllerContext *
bindingContext:ExtensibleModelBindingContext -> IExtensibleModelBinder
Public Overrides Function GetBinder (
controllerContext As ControllerContext,
bindingContext As ExtensibleModelBindingContext
) As IExtensibleModelBinder
Parameters
controllerContext
Type: System.Web.Mvc.ControllerContextThe controller context.
bindingContext
Type: Microsoft.Web.Mvc.ModelBinding.ExtensibleModelBindingContextThe binding context.
Return Value
Type: Microsoft.Web.Mvc.ModelBinding.IExtensibleModelBinder
The model binder.
See Also
ComplexModelDtoModelBinderProvider Class
Microsoft.Web.Mvc.ModelBinding Namespace
Return to top