GenericModelBinderProvider Class
Gets a model binder for a generic type.
Namespace: Microsoft.Web.Mvc.ModelBinding
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
Inheritance Hierarchy
System.Object
Microsoft.Web.Mvc.ModelBinding.ModelBinderProvider
Microsoft.Web.Mvc.ModelBinding.GenericModelBinderProvider
Syntax
public sealed class GenericModelBinderProvider : ModelBinderProvider
public ref class GenericModelBinderProvider sealed : ModelBinderProvider
[<Sealed>]
type GenericModelBinderProvider =
class
inherit ModelBinderProvider
end
Public NotInheritable Class GenericModelBinderProvider
Inherits ModelBinderProvider
Constructors
Name | Description | |
---|---|---|
![]() |
GenericModelBinderProvider(Type, Func<Type[], IExtensibleModelBinder>) | Initializes a new instance of the GenericModelBinderProvider class by using the specified model type and model binder type. |
![]() |
GenericModelBinderProvider(Type, IExtensibleModelBinder) | Initializes a new instance of the GenericModelBinderProvider class by using the specified model type and model binder factory. |
![]() |
GenericModelBinderProvider(Type, Type) | Initializes a new instance of the GenericModelBinderProvider class by using the specified model type and model binder. |
Properties
Name | Description | |
---|---|---|
![]() |
ModelType | Gets the type of the model. |
![]() |
SuppressPrefixCheck | Gets or sets a value that specifies whether the prefix check should be suppressed. |
Methods
Name | Description | |
---|---|---|
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
GetBinder(ControllerContext, ExtensibleModelBindingContext) | Gets the model binder.(Overrides ModelBinderProvider.GetBinder(ControllerContext, ExtensibleModelBindingContext).) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
ToString() | (Inherited from Object.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Web.Mvc.ModelBinding Namespace
Return to top