SimpleModelBinderProvider Class

Inheritance Hierarchy

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)

Syntax

'Declaration
Public NotInheritable Class SimpleModelBinderProvider _
    Inherits ModelBinderProvider
'Usage
Dim instance As SimpleModelBinderProvider
public sealed class SimpleModelBinderProvider : ModelBinderProvider
public ref class SimpleModelBinderProvider sealed : public ModelBinderProvider
[<SealedAttribute>]
type SimpleModelBinderProvider =  
    class
        inherit ModelBinderProvider
    end
public final class SimpleModelBinderProvider extends ModelBinderProvider

The SimpleModelBinderProvider type exposes the following members.

Constructors

  Name Description
Public method SimpleModelBinderProvider(Type, Func<IModelBinder>) Initializes a new instance of the SimpleModelBinderProvider class.
Public method SimpleModelBinderProvider(Type, IModelBinder) Initializes a new instance of the SimpleModelBinderProvider class by using the specified model type and the model binder.

Top

Properties

  Name Description
Public property ModelType Gets the type of the model.
Public property SuppressPrefixCheck Gets or sets a value that specifies whether the prefix check should be suppressed.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetBinder Returns a model binder by using the specified execution context and binding context. (Overrides ModelBinderProvider.GetBinder(HttpConfiguration, Type).)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

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

Reference

System.Web.Http.ModelBinding.Binders Namespace