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 | |
---|---|---|
SimpleModelBinderProvider(Type, Func<IModelBinder>) | Initializes a new instance of the SimpleModelBinderProvider class. | |
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 | |
---|---|---|
ModelType | Gets the type of the model. | |
SuppressPrefixCheck | Gets or sets a value that specifies whether the prefix check should be suppressed. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetBinder | Returns a model binder by using the specified execution context and binding context. (Overrides ModelBinderProvider.GetBinder(HttpConfiguration, Type).) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
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.