3 instantiations of Model
Microsoft.AspNetCore.Mvc.TagHelpers.Test (3)
ValidationSummaryTagHelperTest.cs (3)
74var model = new Model(); 242var model = new Model(); 312var model = new Model();
18 references to Model
Microsoft.AspNetCore.Mvc.TagHelpers.Test (18)
ValidationSummaryTagHelperTest.cs (18)
74var model = new Model(); 146invalidModelState.AddModelError($"{nameof(Model.Strings)}[1]", "This value is invalid."); 152{ nameof(Model.Text), modelState }, 155{ $"{nameof(Model.Strings)}[2]", invalidModelState }, 156{ nameof(Model.Text), invalidModelState }, 242var model = new Model(); 312var model = new Model(); 318modelState.AddModelError(key: $"{nameof(Model.Strings)}[0]", errorMessage: expectedError0); 319modelState.AddModelError(key: $"{nameof(Model.Strings)}[2]", errorMessage: expectedError2); 667modelState.SetModelValue(key: nameof(Model.Empty), rawValue: null, attemptedValue: null); 668modelState.SetModelValue(key: $"{nameof(Model.Strings)}[0]", rawValue: null, attemptedValue: null); 669modelState.SetModelValue(key: $"{nameof(Model.Strings)}[1]", rawValue: null, attemptedValue: null); 670modelState.SetModelValue(key: $"{nameof(Model.Strings)}[2]", rawValue: null, attemptedValue: null); 671modelState.SetModelValue(key: nameof(Model.Text), rawValue: null, attemptedValue: null); 690private class FormMetadata : IEnumerable<Model> 692private readonly List<Model> _fields = new List<Model>(); 696public IEnumerator<Model> GetEnumerator()