ModelBindingContext Classe

Definição

Fornece o contexto no qual um associador de modelo funciona.Provides the context in which a model binder functions.

public ref class ModelBindingContext
public class ModelBindingContext
type ModelBindingContext = class
Public Class ModelBindingContext
Herança
ModelBindingContext

Construtores

ModelBindingContext()

Inicializa uma nova instância da classe ModelBindingContext.Initializes a new instance of the ModelBindingContext class.

ModelBindingContext(ModelBindingContext)

Inicializa uma nova instância da classe ModelBindingContext usando uma instância existente da classe.Initializes a new instance of the ModelBindingContext class by using an existing instance of the class.

Propriedades

Model

Obtém ou define o modelo.Gets or sets the model.

ModelBinderProviders

Obtém ou define uma coleção de provedores de associador de modelo.Gets or sets a collection of model-binder providers.

ModelMetadata

Obtém ou define os metadados para o modelo.Gets or sets metadata for the model.

ModelName

Obtém ou define o nome do modelo.Gets or sets the name of the model.

ModelState

Obtém ou define o estado do modelo.Gets or sets the model state.

ModelType

Obtém o tipo do modelo.Gets the type of the model.

PropertyMetadata

Obtém os metadados para as propriedades do modelo.Gets metadata for properties of the model.

ValidateRequest

Obtém ou define um valor que indica se a entrada do cliente é validada.Gets or sets a value that indicates whether client input is validated.

ValidationNode

Obtém ou define o nó de validação.Gets or sets the validation node.

ValueProvider

Obtém ou define o provedor de valor.Gets or sets the value provider.

Métodos

Equals(Object)

Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object.

(Herdado de Object)
GetHashCode()

Serve como a função de hash padrão.Serves as the default hash function.

(Herdado de Object)
GetType()

Obtém o Type da instância atual.Gets the Type of the current instance.

(Herdado de Object)
MemberwiseClone()

Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object.

(Herdado de Object)
ToString()

Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object.

(Herdado de Object)

Aplica-se a