Click or drag to resize

AutofacModelBinderProviderGetBinder Method

Gets the model binder associated with the provided model type.

Namespace:  Autofac.Integration.Mvc
Assembly:  Autofac.Integration.Mvc (in Autofac.Integration.Mvc.dll) Version: 6.0.0+106fe194fc419c09f32d39119967f68798cc6895
Syntax
public IModelBinder GetBinder(
	Type modelType
)

Parameters

modelType
Type: SystemType
Type of the model.

Return Value

Type: IModelBinder
An IModelBinder instance if found; otherwise, null.

Implements

IModelBinderProvider.GetBinder(Type)
See Also