ModelBindingContext Class
Provides the context in which a model binder functions.
Namespace: System.Web.Http.ModelBinding
Assembly: System.Web.Http (in System.Web.Http.dll)
Inheritance Hierarchy
System.Object
System.Web.Http.ModelBinding.ModelBindingContext
Syntax
public class ModelBindingContext
public ref class ModelBindingContext
type ModelBindingContext = class end
Public Class ModelBindingContext
Constructors
Name | Description | |
---|---|---|
ModelBindingContext() | Initializes a new instance of the ModelBindingContext class. |
|
ModelBindingContext(ModelBindingContext) | Initializes a new instance of the ModelBindingContext class. |
Properties
Name | Description | |
---|---|---|
FallbackToEmptyPrefix | Gets or sets a value that indicates whether the binder should use an empty prefix. |
|
Model | Gets or sets the model. |
|
ModelMetadata | Gets or sets the model metadata. |
|
ModelName | Gets or sets the name of the model. |
|
ModelState | Gets or sets the state of the model. |
|
ModelType | Gets or sets the type of the model. |
|
PropertyMetadata | Gets the property metadata. |
|
ValidationNode | Gets or sets the validation node. |
|
ValueProvider | Gets or sets the value provider. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
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
System.Web.Http.ModelBinding Namespace
Return to top