8 references to Model
Microsoft.AspNetCore.Components.Web (8)
Forms\EditForm.cs (8)
35
/// also supply <see cref="
Model
"/>, since the model value will be taken
101
if (_hasSetEditContextExplicitly &&
Model
!= null)
103
throw new InvalidOperationException($"{nameof(EditForm)} requires a {nameof(
Model
)} " +
106
else if (!_hasSetEditContextExplicitly &&
Model
== null)
108
throw new InvalidOperationException($"{nameof(EditForm)} requires either a {nameof(
Model
)} " +
124
if (
Model
!= null &&
Model
!= _editContext?.Model)
126
_editContext = new EditContext(
Model
!);