ModelBinderProviderCollection.RegisterBinderForGenericType Method

.NET Framework 4.5

Adds a model binder provider to the collection for a generic type.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method RegisterBinderForGenericType(Type, Func<Type[], IModelBinder>) Adds a model binder to the collection for a generic type by using the specified model type and model binder factory.
Public method RegisterBinderForGenericType(Type, Type) Adds a model binder provider to the collection for a generic type by using the specified model type and model binder type.
Public method RegisterBinderForGenericType(Type, IModelBinder) Adds a model binder provider to the collection for a generic type by using the specified model type and model binder.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft