2 writes to _editContext
Microsoft.AspNetCore.Components.Web (2)
Forms\EditForm.cs (2)
44_editContext = value; 126_editContext = new EditContext(Model!);
11 references to _editContext
Microsoft.AspNetCore.Components.Web (11)
Forms\EditForm.cs (11)
41get => _editContext; 124if (Model != null && Model != _editContext?.Model) 133Debug.Assert(_editContext != null); 138builder.OpenRegion(_editContext.GetHashCode()); 169builder.AddComponentParameter(8, "Value", _editContext); 170builder.AddComponentParameter(9, "ChildContent", ChildContent?.Invoke(_editContext)); 194Debug.Assert(_editContext != null); 199await OnSubmit.InvokeAsync(_editContext); 204var isValid = _editContext.Validate(); // This will likely become ValidateAsync later 208await OnValidSubmit.InvokeAsync(_editContext); 213await OnInvalidSubmit.InvokeAsync(_editContext);