ModelBindingContext Class

Definition

Provides the context in which a model binder functions.

public ref class ModelBindingContext
public class ModelBindingContext
type ModelBindingContext = class
Public Class ModelBindingContext
Inheritance
ModelBindingContext

Constructors

ModelBindingContext()

Initializes a new instance of the ModelBindingContext class.

ModelBindingContext(ModelBindingContext)

Initializes a new instance of the ModelBindingContext class by using an existing instance of the class.

Properties

Model

Gets or sets the model.

ModelBinderProviders

Gets or sets a collection of model-binder providers.

ModelMetadata

Gets or sets metadata for the model.

ModelName

Gets or sets the name of the model.

ModelState

Gets or sets the model state.

ModelType

Gets the type of the model.

PropertyMetadata

Gets metadata for properties of the model.

ValidateRequest

Gets or sets a value that indicates whether client input is validated.

ValidationNode

Gets or sets the validation node.

ValueProvider

Gets or sets the value provider.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to