1 write to EditContext
Microsoft.AspNetCore.Components.Web.Tests (1)
Forms\EditFormTest.cs (1)
35EditContext = new EditContext(new TestModel()),
9 references to EditContext
Microsoft.AspNetCore.Components.Web (7)
Forms\EditForm.cs (7)
11/// Renders a form element that cascades an <see cref="EditContext"/> to descendants. 61/// a value for <see cref="EditContext"/>. 80/// <see cref="EditContext"/> is determined to be valid. 86/// <see cref="EditContext"/> is determined to be invalid. 104$"parameter, or an {nameof(EditContext)} parameter, but not both."); 109$"parameter, or an {nameof(EditContext)} parameter, please provide one of these."); 183builder.AddComponentParameter(2, nameof(FormMappingValidator.CurrentEditContext), EditContext);
Microsoft.AspNetCore.Components.Web.Tests (2)
Forms\EditFormTest.cs (2)
73var returnedEditContext = editFormComponent.EditContext; 94var returnedEditContext = editFormComponent.EditContext;