Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SimpleModelBinderProvider Class


Namespace:  System.Web.Http.ModelBinding.Binders
Assembly:  System.Web.Http (in System.Web.Http.dll)

Public NotInheritable Class SimpleModelBinderProvider _
	Inherits ModelBinderProvider
Dim instance As SimpleModelBinderProvider

The SimpleModelBinderProvider type exposes the following members.

Public methodSimpleModelBinderProvider(Type, Func(Of IModelBinder))Initializes a new instance of the SimpleModelBinderProvider class.
Public methodSimpleModelBinderProvider(Type, IModelBinder)Initializes a new instance of the SimpleModelBinderProvider class by using the specified model type and the model binder.

Public propertyModelTypeGets the type of the model.
Public propertySuppressPrefixCheckGets or sets a value that specifies whether the prefix check should be suppressed.

Public methodEquals (Inherited from Object.)
Public methodGetBinderReturns a model binder by using the specified execution context and binding context. (Overrides ModelBinderProvider.GetBinder(HttpConfiguration, Type).)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft