1 instantiation of ModelState
System.Web (1)
ModelBinding\ModelStateDictionary.cs (1)
109modelState = new ModelState();
22 references to ModelState
System.Web (22)
ModelBinding\ModelStateDictionary.cs (20)
8public class ModelStateDictionary : IDictionary<string, ModelState> { 10private readonly Dictionary<string, ModelState> _innerDictionary = new Dictionary<string, ModelState>(StringComparer.OrdinalIgnoreCase); 33return ((IDictionary<string, ModelState>)_innerDictionary).IsReadOnly; 49public ModelState this[string key] { 51ModelState value; 60public ICollection<ModelState> Values { 66public void Add(KeyValuePair<string, ModelState> item) { 67((IDictionary<string, ModelState>)_innerDictionary).Add(item); 70public void Add(string key, ModelState value) { 86public bool Contains(KeyValuePair<string, ModelState> item) { 87return ((IDictionary<string, ModelState>)_innerDictionary).Contains(item); 94public void CopyTo(KeyValuePair<string, ModelState>[] array, int arrayIndex) { 95((IDictionary<string, ModelState>)_innerDictionary).CopyTo(array, arrayIndex); 98public IEnumerator<KeyValuePair<string, ModelState>> GetEnumerator() { 102private ModelState GetModelStateForKey(string key) { 107ModelState modelState; 135public bool Remove(KeyValuePair<string, ModelState> item) { 136return ((IDictionary<string, ModelState>)_innerDictionary).Remove(item); 147public bool TryGetValue(string key, out ModelState value) {
UI\WebControls\ModelErrorMessage.cs (1)
88ModelState modelState;
UI\WebControls\ValidationSummary.cs (1)
288foreach (KeyValuePair<string, ModelState> pair in modelState) {