44 instantiations of ChangeEventArgs
Microsoft.AspNetCore.Components.Tests (40)
EventCallbackFactoryBinderExtensionsTest.cs (33)
23await binder.InvokeAsync(new ChangeEventArgs() { Value = "not-an-integer!", }); 40await binder.InvokeAsync(new ChangeEventArgs() { Value = string.Empty, }); 58return binder.InvokeAsync(new ChangeEventArgs() { Value = "18", }); 75await binder.InvokeAsync(new ChangeEventArgs() { Value = "not-an-integer!", }); 92await binder.InvokeAsync(new ChangeEventArgs() { Value = "", }); 111await binder.InvokeAsync(new ChangeEventArgs() { Value = expectedValue, }); 130await binder.InvokeAsync(new ChangeEventArgs() { Value = true, }); 149await binder.InvokeAsync(new ChangeEventArgs() { Value = true, }); 168await binder.InvokeAsync(new ChangeEventArgs() { Value = "42", }); 187await binder.InvokeAsync(new ChangeEventArgs() { Value = "42", }); 206await binder.InvokeAsync(new ChangeEventArgs() { Value = "42", }); 225await binder.InvokeAsync(new ChangeEventArgs() { Value = "42", }); 244await binder.InvokeAsync(new ChangeEventArgs() { Value = "42", }); 263await binder.InvokeAsync(new ChangeEventArgs() { Value = "42", }); 282await binder.InvokeAsync(new ChangeEventArgs() { Value = "42", }); 301await binder.InvokeAsync(new ChangeEventArgs() { Value = "42", }); 320await binder.InvokeAsync(new ChangeEventArgs() { Value = "42", }); 339await binder.InvokeAsync(new ChangeEventArgs() { Value = "42", }); 358await binder.InvokeAsync(new ChangeEventArgs() { Value = expectedValue.ToString(), }); 377await binder.InvokeAsync(new ChangeEventArgs() { Value = expectedValue.ToString(), }); 396await binder.InvokeAsync(new ChangeEventArgs() { Value = expectedValue.ToString(CultureInfo.CurrentCulture), }); 415await binder.InvokeAsync(new ChangeEventArgs() { Value = expectedValue.ToString(CultureInfo.CurrentCulture), }); 435await binder.InvokeAsync(new ChangeEventArgs() { Value = expectedValue.ToString(format, CultureInfo.InvariantCulture), }); 455await binder.InvokeAsync(new ChangeEventArgs() { Value = expectedValue.ToString(format, CultureInfo.InvariantCulture), }); 474await binder.InvokeAsync(new ChangeEventArgs() { Value = expectedValue.ToString(CultureInfo.CurrentCulture), }); 493await binder.InvokeAsync(new ChangeEventArgs() { Value = expectedValue.ToString(CultureInfo.CurrentCulture), }); 513await binder.InvokeAsync(new ChangeEventArgs() { Value = expectedValue.ToString(format, CultureInfo.InvariantCulture), }); 533await binder.InvokeAsync(new ChangeEventArgs() { Value = expectedValue.ToString(format, CultureInfo.InvariantCulture), }); 553await binder.InvokeAsync(new ChangeEventArgs() { Value = expectedValue.ToString(), }); 573await binder.InvokeAsync(new ChangeEventArgs() { Value = expectedValue.ToString(), }); 592await binder.InvokeAsync(new ChangeEventArgs() { Value = expectedValue.ToString(), }); 627await binder.InvokeAsync(new ChangeEventArgs() { Value = "42 000,00", }); 646await binder.InvokeAsync(new ChangeEventArgs() { Value = "42,000.00", });
RendererTest.cs (7)
3094var eventArgs = new ChangeEventArgs { Value = true }; 3136var eventArgs = new ChangeEventArgs { Value = "hello" }; 3175var eventArgs = new ChangeEventArgs { Value = "hello" }; 3215var eventArgs = new ChangeEventArgs { Value = "hello" }; 3255var eventArgs = new ChangeEventArgs { Value = "hello" }; 4344var dispatchEventTask = renderer.DispatchEventAsync(eventHandlerId, eventFieldInfo, new ChangeEventArgs 4396var dispatchEventTask = renderer.DispatchEventAsync(eventHandlerId, fieldInfo, new ChangeEventArgs
Microsoft.AspNetCore.Components.Web (1)
WebEventData\ChangeEventArgsReader.cs (1)
16var changeArgs = new ChangeEventArgs();
Microsoft.AspNetCore.Components.Web.Tests (3)
WebEventData\ChangeEventArgsReaderTest.cs (3)
16var args = new ChangeEventArgs 33var args = new ChangeEventArgs 50var args = new ChangeEventArgs
108 references to ChangeEventArgs
Microsoft.AspNetCore.Components (82)
EventCallbackFactoryBinderExtensions.cs (76)
35public static EventCallback<ChangeEventArgs> CreateBinder( 55public static EventCallback<ChangeEventArgs> CreateBinder( 75public static EventCallback<ChangeEventArgs> CreateBinder( 95public static EventCallback<ChangeEventArgs> CreateBinder( 115public static EventCallback<ChangeEventArgs> CreateBinder( 135public static EventCallback<ChangeEventArgs> CreateBinder( 155public static EventCallback<ChangeEventArgs> CreateBinder( 175public static EventCallback<ChangeEventArgs> CreateBinder( 195public static EventCallback<ChangeEventArgs> CreateBinder( 215public static EventCallback<ChangeEventArgs> CreateBinder( 235public static EventCallback<ChangeEventArgs> CreateBinder( 255public static EventCallback<ChangeEventArgs> CreateBinder( 275public static EventCallback<ChangeEventArgs> CreateBinder( 295public static EventCallback<ChangeEventArgs> CreateBinder( 315public static EventCallback<ChangeEventArgs> CreateBinder( 335public static EventCallback<ChangeEventArgs> CreateBinder( 355public static EventCallback<ChangeEventArgs> CreateBinder( 375public static EventCallback<ChangeEventArgs> CreateBinder( 395public static EventCallback<ChangeEventArgs> CreateBinder( 415public static EventCallback<ChangeEventArgs> CreateBinder( 435public static EventCallback<ChangeEventArgs> CreateBinder( 455public static EventCallback<ChangeEventArgs> CreateBinder( 475public static EventCallback<ChangeEventArgs> CreateBinder( 495public static EventCallback<ChangeEventArgs> CreateBinder( 515public static EventCallback<ChangeEventArgs> CreateBinder( 535public static EventCallback<ChangeEventArgs> CreateBinder( 555public static EventCallback<ChangeEventArgs> CreateBinder( 575public static EventCallback<ChangeEventArgs> CreateBinder( 595public static EventCallback<ChangeEventArgs> CreateBinder( 615public static EventCallback<ChangeEventArgs> CreateBinder( 635public static EventCallback<ChangeEventArgs> CreateBinder( 655public static EventCallback<ChangeEventArgs> CreateBinder( 676public static EventCallback<ChangeEventArgs> CreateBinder( 698public static EventCallback<ChangeEventArgs> CreateBinder( 719public static EventCallback<ChangeEventArgs> CreateBinder( 739public static EventCallback<ChangeEventArgs> CreateBinder( 760public static EventCallback<ChangeEventArgs> CreateBinder( 782public static EventCallback<ChangeEventArgs> CreateBinder( 803public static EventCallback<ChangeEventArgs> CreateBinder( 823public static EventCallback<ChangeEventArgs> CreateBinder( 844public static EventCallback<ChangeEventArgs> CreateBinder( 866public static EventCallback<ChangeEventArgs> CreateBinder( 887public static EventCallback<ChangeEventArgs> CreateBinder( 907public static EventCallback<ChangeEventArgs> CreateBinder( 928public static EventCallback<ChangeEventArgs> CreateBinder( 950public static EventCallback<ChangeEventArgs> CreateBinder( 971public static EventCallback<ChangeEventArgs> CreateBinder( 991public static EventCallback<ChangeEventArgs> CreateBinder( 1012public static EventCallback<ChangeEventArgs> CreateBinder( 1034public static EventCallback<ChangeEventArgs> CreateBinder( 1055public static EventCallback<ChangeEventArgs> CreateBinder( 1075public static EventCallback<ChangeEventArgs> CreateBinder( 1096public static EventCallback<ChangeEventArgs> CreateBinder( 1118public static EventCallback<ChangeEventArgs> CreateBinder( 1139public static EventCallback<ChangeEventArgs> CreateBinder( 1159public static EventCallback<ChangeEventArgs> CreateBinder( 1180public static EventCallback<ChangeEventArgs> CreateBinder( 1202public static EventCallback<ChangeEventArgs> CreateBinder( 1223public static EventCallback<ChangeEventArgs> CreateBinder( 1243public static EventCallback<ChangeEventArgs> CreateBinder( 1264public static EventCallback<ChangeEventArgs> CreateBinder( 1286public static EventCallback<ChangeEventArgs> CreateBinder( 1308public static EventCallback<ChangeEventArgs> CreateBinder<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] T>( 1329public static EventCallback<ChangeEventArgs> CreateBinder<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] T>( 1339private static EventCallback<ChangeEventArgs> CreateBinderCore<T>( 1346Action<ChangeEventArgs> callback = e => 1379return factory.Create<ChangeEventArgs>(receiver, callback); 1382private static EventCallback<ChangeEventArgs> CreateBinderCoreAsync<T>( 1389Func<ChangeEventArgs, Task> callback = async e => 1422return factory.Create<ChangeEventArgs>(receiver, callback); 1425private static EventCallback<ChangeEventArgs> CreateBinderCore<T>( 1433Action<ChangeEventArgs> callback = e => 1466return factory.Create<ChangeEventArgs>(receiver, callback); 1469private static EventCallback<ChangeEventArgs> CreateBinderCoreAsync<T>( 1477Func<ChangeEventArgs, Task> callback = async e => 1510return factory.Create<ChangeEventArgs>(receiver, callback);
EventCallbackFactoryEventArgsExtensions.cs (6)
49public static EventCallback<ChangeEventArgs> Create(this EventCallbackFactory factory, object receiver, Action<ChangeEventArgs> callback) 53return factory.Create<ChangeEventArgs>(receiver, callback); 64public static EventCallback<ChangeEventArgs> Create(this EventCallbackFactory factory, object receiver, Func<ChangeEventArgs, Task> callback) 68return factory.Create<ChangeEventArgs>(receiver, callback);
Microsoft.AspNetCore.Components.Tests (9)
RendererTest.cs (9)
3094var eventArgs = new ChangeEventArgs { Value = true }; 3136var eventArgs = new ChangeEventArgs { Value = "hello" }; 3175var eventArgs = new ChangeEventArgs { Value = "hello" }; 3215var eventArgs = new ChangeEventArgs { Value = "hello" }; 3255var eventArgs = new ChangeEventArgs { Value = "hello" }; 4362AssertFrame.Attribute(attributeFrame, "ontestevent", typeof(Action<ChangeEventArgs>)); 4414AssertFrame.Attribute(attributeFrame, "ontestevent", typeof(Action<ChangeEventArgs>)); 5912builder.AddAttribute(2, "ontestevent", new Action<ChangeEventArgs>((ChangeEventArgs eventArgs) =>
Microsoft.AspNetCore.Components.Web (7)
Forms\InputRadioContext.cs (2)
14public EventCallback<ChangeEventArgs> ChangeEventCallback { get; } 21public InputRadioContext(IInputRadioValueProvider valueProvider, InputRadioContext? parentContext, EventCallback<ChangeEventArgs> changeEventCallback)
Web\EventHandlers.cs (2)
45[EventHandler("onchange", typeof(ChangeEventArgs), true, true)] 46[EventHandler("oninput", typeof(ChangeEventArgs), true, true)]
WebEventData\ChangeEventArgsReader.cs (3)
14internal static ChangeEventArgs Read(JsonElement jsonElement) 16var changeArgs = new ChangeEventArgs(); 37throw new ArgumentException($"Unsupported {nameof(ChangeEventArgs)} value {jsonElement}.");
Microsoft.AspNetCore.Components.Web.Tests (10)
HtmlRendering\HtmlRendererTest.cs (3)
652rtb.AddAttribute(2, "change", pc.GetValueOrDefault<Action<ChangeEventArgs>>("update")); 659Action<ChangeEventArgs> change = (ChangeEventArgs changeArgs) => throw new InvalidOperationException();
WebEventData\ChangeEventArgsReaderTest.cs (7)
16var args = new ChangeEventArgs 23var result = ChangeEventArgsReader.Read(jsonElement); 33var args = new ChangeEventArgs 40var result = ChangeEventArgsReader.Read(jsonElement); 50var args = new ChangeEventArgs 57var result = ChangeEventArgsReader.Read(jsonElement); 63private static JsonElement GetJsonElement(ChangeEventArgs args)