5 writes to CurrentValue
Microsoft.AspNetCore.Components.Web (4)
Forms\InputBase.cs (2)
125CurrentValue = default!; 130CurrentValue = parsedValue!;
Forms\InputCheckbox.cs (1)
45builder.AddAttribute(7, "onchange", EventCallback.Factory.CreateBinder<bool>(this, __value => CurrentValue = __value, CurrentValue));
Forms\InputSelect.cs (1)
87CurrentValue = BindConverter.TryConvertTo<TValue>(value, CultureInfo.CurrentCulture, out var result)
Microsoft.AspNetCore.Components.Web.Tests (1)
Forms\InputBaseTest.cs (1)
544set { base.CurrentValue = value; }
8 references to CurrentValue
Microsoft.AspNetCore.Components.Web (6)
Forms\InputBase.cs (1)
112get => _parsingFailed ? _incomingValueBeforeParsing : FormatValueAsString(CurrentValue);
Forms\InputCheckbox.cs (3)
39builder.AddAttribute(5, "checked", BindConverter.FormatValue(CurrentValue)); 45builder.AddAttribute(7, "onchange", EventCallback.Factory.CreateBinder<bool>(this, __value => CurrentValue = __value, CurrentValue)); 53=> throw new NotSupportedException($"This component does not parse string inputs. Bind to the '{nameof(CurrentValue)}' property, not '{nameof(CurrentValueAsString)}'.");
Forms\InputRadioGroup.cs (1)
30object? IInputRadioValueProvider.CurrentValue => CurrentValue;
Forms\InputSelect.cs (1)
49builder.AddAttribute(5, "value", BindConverter.FormatValue(CurrentValue)?.ToString());
Microsoft.AspNetCore.Components.Web.Tests (2)
Forms\InputBaseTest.cs (1)
543get => base.CurrentValue;
Forms\InputSelectTest.cs (1)
235public new TValue CurrentValue => base.CurrentValue;