ValidationStateDictionary ValidationStateDictionary ValidationStateDictionary ValidationStateDictionary Class

Definition

Used for tracking validation state to customize validation behavior for a model object.

public ref class ValidationStateDictionary : System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::Object ^, Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidationStateEntry ^>>, System::Collections::Generic::IDictionary<System::Object ^, Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidationStateEntry ^>, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::Object ^, Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidationStateEntry ^>>, System::Collections::Generic::IReadOnlyCollection<System::Collections::Generic::KeyValuePair<System::Object ^, Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidationStateEntry ^>>, System::Collections::Generic::IReadOnlyDictionary<System::Object ^, Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidationStateEntry ^>
public class ValidationStateDictionary : System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<object,Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry>>, System.Collections.Generic.IDictionary<object,Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<object,Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry>>, System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<object,Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry>>, System.Collections.Generic.IReadOnlyDictionary<object,Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry>
type ValidationStateDictionary = class
    interface ICollection<KeyValuePair<obj, ValidationStateEntry>>
    interface seq<KeyValuePair<obj, ValidationStateEntry>>
    interface IEnumerable
    interface IDictionary<obj, ValidationStateEntry>
    interface IReadOnlyCollection<KeyValuePair<obj, ValidationStateEntry>>
    interface IReadOnlyDictionary<obj, ValidationStateEntry>
Public Class ValidationStateDictionary
Implements ICollection(Of KeyValuePair(Of Object, ValidationStateEntry)), IDictionary(Of Object, ValidationStateEntry), IEnumerable(Of KeyValuePair(Of Object, ValidationStateEntry)), IReadOnlyCollection(Of KeyValuePair(Of Object, ValidationStateEntry)), IReadOnlyDictionary(Of Object, ValidationStateEntry)
Inheritance
ValidationStateDictionaryValidationStateDictionaryValidationStateDictionaryValidationStateDictionary
Implements

Constructors

ValidationStateDictionary() ValidationStateDictionary() ValidationStateDictionary() ValidationStateDictionary()

Creates a new ValidationStateDictionary.

Properties

Count Count Count Count
IsReadOnly IsReadOnly IsReadOnly IsReadOnly
Item[Object] Item[Object] Item[Object] Item[Object]
Keys Keys Keys Keys
Values Values Values Values

Methods

Add(KeyValuePair<Object,ValidationStateEntry>) Add(KeyValuePair<Object,ValidationStateEntry>) Add(KeyValuePair<Object,ValidationStateEntry>) Add(KeyValuePair<Object,ValidationStateEntry>)
Add(Object, ValidationStateEntry) Add(Object, ValidationStateEntry) Add(Object, ValidationStateEntry) Add(Object, ValidationStateEntry)
Clear() Clear() Clear() Clear()
Contains(KeyValuePair<Object,ValidationStateEntry>) Contains(KeyValuePair<Object,ValidationStateEntry>) Contains(KeyValuePair<Object,ValidationStateEntry>) Contains(KeyValuePair<Object,ValidationStateEntry>)
ContainsKey(Object) ContainsKey(Object) ContainsKey(Object) ContainsKey(Object)
CopyTo(KeyValuePair<Object,ValidationStateEntry>[], Int32) CopyTo(KeyValuePair<Object,ValidationStateEntry>[], Int32) CopyTo(KeyValuePair<Object,ValidationStateEntry>[], Int32) CopyTo(KeyValuePair<Object,ValidationStateEntry>[], Int32)
GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()
Remove(KeyValuePair<Object,ValidationStateEntry>) Remove(KeyValuePair<Object,ValidationStateEntry>) Remove(KeyValuePair<Object,ValidationStateEntry>) Remove(KeyValuePair<Object,ValidationStateEntry>)
Remove(Object) Remove(Object) Remove(Object) Remove(Object)
TryGetValue(Object, ValidationStateEntry) TryGetValue(Object, ValidationStateEntry) TryGetValue(Object, ValidationStateEntry) TryGetValue(Object, ValidationStateEntry)

Explicit Interface Implementations

IReadOnlyDictionary<Object,ValidationStateEntry>.Keys IReadOnlyDictionary<Object,ValidationStateEntry>.Keys IReadOnlyDictionary<Object,ValidationStateEntry>.Keys IReadOnlyDictionary<Object,ValidationStateEntry>.Keys
IReadOnlyDictionary<Object,ValidationStateEntry>.Values IReadOnlyDictionary<Object,ValidationStateEntry>.Values IReadOnlyDictionary<Object,ValidationStateEntry>.Values IReadOnlyDictionary<Object,ValidationStateEntry>.Values
IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator()

Applies to