77 references to EditContext
Microsoft.AspNetCore.Components.Forms.Tests (30)
EditContextDataAnnotationsExtensionsTest.cs (7)
24
var editContext = new
EditContext
(new object());
36
var editContext = new
EditContext
(model);
66
var editContext = new
EditContext
(model);
83
var editContext = new
EditContext
(model);
111
var editContext = new
EditContext
(independentTopLevelModel);
151
var editContext = new
EditContext
(new TestModel());
170
var editContext = new
EditContext
(model);
EditContextTest.cs (18)
11
var ex = Assert.Throws<ArgumentNullException>(() => new
EditContext
(null));
19
var editContext = new
EditContext
(model);
28
var editContext = new
EditContext
(model);
39
var editContext = new
EditContext
(new object());
47
var editContext = new
EditContext
(new object());
67
var editContext = new
EditContext
(new object());
89
var editContext = new
EditContext
(new object());
108
var editContext = new
EditContext
(new object());
129
var editContext = new
EditContext
(new object());
159
var editContext = new
EditContext
(new object());
187
var editContext = new
EditContext
(new object());
200
var editContext = new
EditContext
(new object());
217
var editContext = new
EditContext
(new object());
240
var editContext = new
EditContext
(new object());
260
var editContext = new
EditContext
(model);
273
var editContext = new
EditContext
(new object());
297
var editContext = new
EditContext
(new object());
323
var editContext = new
EditContext
(new object());
ValidationMessageStoreTest.cs (5)
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 (1)
Forms\EditForm.cs (1)
126
_editContext = new
EditContext
(Model!);
Microsoft.AspNetCore.Components.Web.Tests (46)
Forms\EditFormTest.cs (4)
35
EditContext = new
EditContext
(new TestModel()),
86
var editContext = new
EditContext
(new TestModel()) { ShouldUseFieldIdentifiers = createFieldPath };
134
var editContext = new
EditContext
(new object());
179
var editContext = new
EditContext
(new object());
Forms\InputBaseTest.cs (21)
16
var rootComponent = new TestInputHostComponent<string, TestInputComponent<string>> { EditContext = new
EditContext
(model), ValueExpression = () => model.StringProperty };
20
rootComponent.EditContext = new
EditContext
(model);
30
var rootComponent = new TestInputHostComponent<string, TestInputComponent<string>> { EditContext = new
EditContext
(model) };
44
EditContext = new
EditContext
(model),
63
EditContext = new
EditContext
(model),
82
EditContext = new
EditContext
(model),
101
EditContext = new
EditContext
(model),
140
EditContext = new
EditContext
(model),
163
EditContext = new
EditContext
(model),
185
EditContext = new
EditContext
(model),
206
EditContext = new
EditContext
(model),
244
EditContext = new
EditContext
(model),
265
EditContext = new
EditContext
(model),
283
EditContext = new
EditContext
(model),
313
EditContext = new
EditContext
(model),
347
EditContext = new
EditContext
(model),
371
EditContext = new
EditContext
(model),
407
EditContext = new
EditContext
(model),
431
var invalidContext = new
EditContext
(model);
464
var invalidContext = new
EditContext
(model);
500
EditContext = new
EditContext
(model),
Forms\InputDateTest.cs (2)
15
EditContext = new
EditContext
(model),
41
EditContext = new
EditContext
(model),
Forms\InputNumberTest.cs (3)
30
EditContext = new
EditContext
(model),
56
EditContext = new
EditContext
(model),
74
EditContext = new
EditContext
(model),
Forms\InputRadioTest.cs (4)
19
EditContext = new
EditContext
(model),
33
EditContext = new
EditContext
(model)
52
EditContext = new
EditContext
(model),
67
EditContext = new
EditContext
(model),
Forms\InputSelectTest.cs (10)
15
EditContext = new
EditContext
(model),
34
EditContext = new
EditContext
(model),
53
EditContext = new
EditContext
(model),
72
EditContext = new
EditContext
(model),
92
EditContext = new
EditContext
(model),
113
EditContext = new
EditContext
(model),
134
EditContext = new
EditContext
(model),
154
EditContext = new
EditContext
(model),
173
EditContext = new
EditContext
(model),
199
EditContext = new
EditContext
(model),
Forms\InputTextAreaTest.cs (1)
15
EditContext = new
EditContext
(model),
Forms\InputTextTest.cs (1)
15
EditContext = new
EditContext
(model),