SimpleModelBinderProvider Class

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)

public sealed class SimpleModelBinderProvider : ModelBinderProvider

The SimpleModelBinderProvider type exposes the following members.

  NameDescription
Public methodSimpleModelBinderProvider(Type, Func<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:
© 2016 Microsoft