6 references to CurrentEditContext
Microsoft.AspNetCore.Components.Web (5)
Forms\EditForm.cs (1)
183
builder.AddComponentParameter(2, nameof(FormMappingValidator.
CurrentEditContext
), EditContext);
Forms\Mapping\FormMappingValidator.cs (4)
21
if (
CurrentEditContext
== null)
32
_subscriptions =
CurrentEditContext
.EnableFormMappingContextExtensions(MappingContext);
33
_originalEditContext =
CurrentEditContext
;
44
if (
CurrentEditContext
!= _originalEditContext)
Microsoft.AspNetCore.Components.Web.Tests (1)
Forms\EditFormTest.cs (1)
164
frame => AssertFrame.Attribute(frame, nameof(FormMappingValidator.
CurrentEditContext
), editContext),