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)
130
var store1 = new
ValidationMessageStore
(editContext);
131
var store2 = new
ValidationMessageStore
(editContext);
160
var store1 = new
ValidationMessageStore
(editContext);
161
var store2 = new
ValidationMessageStore
(editContext);
201
var messages = new
ValidationMessageStore
(editContext);
218
var messages = new
ValidationMessageStore
(editContext);
241
var messages = new
ValidationMessageStore
(editContext);
ValidationMessageStoreTest.cs (6)
11
var ex = Assert.Throws<ArgumentNullException>(() => new
ValidationMessageStore
(null));
18
new
ValidationMessageStore
(new EditContext(new object()));
25
var messages = new
ValidationMessageStore
(new EditContext(new object()));
45
var messages = new
ValidationMessageStore
(new EditContext(new object()));
60
var messages = new
ValidationMessageStore
(new EditContext(new object()));
79
var 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)
220
var messages = new
ValidationMessageStore
(rootComponent.EditContext);
388
var messageStore = new
ValidationMessageStore
(rootComponent.EditContext);
418
var messageStore = new
ValidationMessageStore
(rootComponent.EditContext);
440
var messageStore = new
ValidationMessageStore
(invalidContext);
475
var messageStore = new
ValidationMessageStore
(invalidContext);
505
var messageStore = new
ValidationMessageStore
(rootComponent.EditContext);