22 references to ValidationMessageStore
Microsoft.AspNetCore.Components.Forms (1)
EditContextDataAnnotationsExtensions.cs (1)
72_messages = new ValidationMessageStore(_editContext);
Microsoft.AspNetCore.Components.Forms.Tests (13)
EditContextTest.cs (7)
130var store1 = new ValidationMessageStore(editContext); 131var store2 = new ValidationMessageStore(editContext); 160var store1 = new ValidationMessageStore(editContext); 161var store2 = new ValidationMessageStore(editContext); 201var messages = new ValidationMessageStore(editContext); 218var messages = new ValidationMessageStore(editContext); 241var messages = new ValidationMessageStore(editContext);
ValidationMessageStoreTest.cs (6)
11var ex = Assert.Throws<ArgumentNullException>(() => new ValidationMessageStore(null)); 18new ValidationMessageStore(new EditContext(new object())); 25var messages = new ValidationMessageStore(new EditContext(new object())); 45var messages = new ValidationMessageStore(new EditContext(new object())); 60var messages = new ValidationMessageStore(new EditContext(new object())); 79var messages = new ValidationMessageStore(new EditContext(new object()));
Microsoft.AspNetCore.Components.Web (2)
Forms\InputBase.cs (1)
139_parsingValidationMessages ??= new ValidationMessageStore(EditContext);
Forms\Mapping\EditContextFormMappingExtensions.cs (1)
59_messages = new ValidationMessageStore(_editContext);
Microsoft.AspNetCore.Components.Web.Tests (6)
Forms\InputBaseTest.cs (6)
220var messages = new ValidationMessageStore(rootComponent.EditContext); 388var messageStore = new ValidationMessageStore(rootComponent.EditContext); 418var messageStore = new ValidationMessageStore(rootComponent.EditContext); 440var messageStore = new ValidationMessageStore(invalidContext); 475var messageStore = new ValidationMessageStore(invalidContext); 505var messageStore = new ValidationMessageStore(rootComponent.EditContext);