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

System.Object
  System.Web.Http.ModelBinding.ModelBinderProvider
    System.Web.Http.ModelBinding.Binders.SimpleModelBinderProvider

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

'Declaration
Public NotInheritable Class SimpleModelBinderProvider _
	Inherits ModelBinderProvider
'Usage
Dim instance As SimpleModelBinderProvider

The SimpleModelBinderProvider type exposes the following members.

  NameDescription
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.
Top

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

  NameDescription
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.)
Top

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