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)
41
get =>
_editContext
;
124
if (Model != null && Model !=
_editContext
?.Model)
133
Debug.Assert(
_editContext
!= null);
138
builder.OpenRegion(
_editContext
.GetHashCode());
169
builder.AddComponentParameter(8, "Value",
_editContext
);
170
builder.AddComponentParameter(9, "ChildContent", ChildContent?.Invoke(
_editContext
));
194
Debug.Assert(
_editContext
!= null);
199
await OnSubmit.InvokeAsync(
_editContext
);
204
var isValid =
_editContext
.Validate(); // This will likely become ValidateAsync later
208
await OnValidSubmit.InvokeAsync(
_editContext
);
213
await OnInvalidSubmit.InvokeAsync(
_editContext
);