GenericModelBinderProvider Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public NotInheritable Class GenericModelBinderProvider _
    Inherits ModelBinderProvider
public sealed class GenericModelBinderProvider : ModelBinderProvider
public ref class GenericModelBinderProvider sealed : public ModelBinderProvider
[<Sealed>]
type GenericModelBinderProvider =  
    class
        inherit ModelBinderProvider
    end
public final class GenericModelBinderProvider extends ModelBinderProvider

The GenericModelBinderProvider type exposes the following members.

Constructors

  Name Description
Public method GenericModelBinderProvider(Type, Func<T, TResult>) Initializes a new instance of the GenericModelBinderProvider class.
Public method GenericModelBinderProvider(Type, Type) Initializes a new instance of the GenericModelBinderProvider class.
Public method GenericModelBinderProvider(Type, IModelBinder) Initializes a new instance of the GenericModelBinderProvider class.

Top

Properties

  Name Description
Public property ModelType Gets {insert text here}.
Public property SuppressPrefixCheck Gets or sets {insert text here}.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetBinder (Overrides ModelBinderProvider.GetBinder(HttpActionContext, ModelBindingContext).)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (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