30 instantiations of EventCallback
Microsoft.AspNetCore.Components (4)
EventCallback.cs (1)
21public static readonly EventCallback Empty = new EventCallback(null, (Action)(() => { }));
EventCallbackFactory.cs (1)
198return new EventCallback(callback?.Target as IHandleEvent ?? receiver as IHandleEvent, callback);
EventCallbackOfT.cs (1)
67return new EventCallback(Receiver ?? Delegate?.Target as IHandleEvent, Delegate);
RenderTree\Renderer.cs (1)
638_eventBindings.Add(id, (renderedByComponentId, new EventCallback(@delegate.Target as IHandleEvent, @delegate)));
Microsoft.AspNetCore.Components.Tests (25)
EventCallbackFactoryTest.cs (1)
14var input = new EventCallback(component, @delegate);
EventCallbackTest.cs (13)
35var callback = new EventCallback(null, (Action)(() => runCount++)); 65var callback = new EventCallback(component, (Action)(() => runCount++)); 82var callback = new EventCallback(component, (Action)(() => runCount++)); 100var callback = new EventCallback(component, (Action<EventArgs>)((e) => { arg = e; runCount++; })); 119var callback = new EventCallback(component, (Action<EventArgs>)((e) => { arg = e; runCount++; })); 138var callback = new EventCallback(component, (Action<int>)((e) => { arg = e; runCount++; })); 157var callback = new EventCallback(component, (Action<EventArgs>)((e) => { arg = e; runCount++; })); 173var callback = new EventCallback(component, (Func<Task>)(() => { runCount++; return Task.CompletedTask; })); 190var callback = new EventCallback(component, (Func<Task>)(() => { runCount++; return Task.CompletedTask; })); 208var callback = new EventCallback(component, (Func<EventArgs, Task>)((e) => { arg = e; runCount++; return Task.CompletedTask; })); 227var callback = new EventCallback(component, (Func<EventArgs, Task>)((e) => { arg = e; runCount++; return Task.CompletedTask; })); 246var callback = new EventCallback(component, (Func<int, Task>)((e) => { arg = e; runCount++; return Task.CompletedTask; })); 265var callback = new EventCallback(component, (Func<EventArgs, Task>)((e) => { arg = e; runCount++; return Task.CompletedTask; }));
Rendering\RenderTreeBuilderTest.cs (11)
1177var callback = new EventCallback(null, new Action(() => { })); 1215var callback = new EventCallback(receiver, new Action(() => { })); 1235var callback = new EventCallback(receiver, new Action(() => { })); 1255var callback = new EventCallback(receiver, new Action(() => { })); 1323frame => AssertFrame.Attribute(frame, "attr", new EventCallback(callback.Receiver, callback.Delegate), 1)); 1542var callback = new EventCallback(null, new Action(() => { })); 1580var callback = new EventCallback(receiver, new Action(() => { })); 1600var callback = new EventCallback(receiver, new Action(() => { })); 1668frame => AssertFrame.Attribute(frame, "attr", new EventCallback(callback.Receiver, callback.Delegate), 1)); 1992builder.AddAttribute(0, "2", new EventCallback(null, (Action)(() => { }))); 2005{ "6", new EventCallback(null, (Action)(() =>{ })) },
Microsoft.AspNetCore.Components.Web (1)
JSComponents\JSComponentInterop.cs (1)
178return new(null, callback);
243 references to EventCallback
Aspire.Dashboard (5)
Components\Controls\SummaryDetailsView.razor.cs (1)
33public EventCallback OnDismiss { get; set; }
Components\Layout\AspirePageContentLayout.razor.cs (1)
91OnDialogClosing = EventCallback.Factory.Create<DialogInstance>(this, async () =>
Components\Layout\MainLayout.razor.cs (2)
170OnDialogClosing = EventCallback.Factory.Create<DialogInstance>(this, HandleDialogClose) 204OnDialogClosing = EventCallback.Factory.Create<DialogInstance>(this, HandleDialogClose)
Model\DashboardCommandExecutor.cs (1)
93toastParameters.OnPrimaryAction = EventCallback.Factory.Create<ToastResult>(this, () => navigationManager.NavigateTo(DashboardUrls.ConsoleLogsUrl(resource: resource.Name)));
Microsoft.AspNetCore.Components (51)
CompilerServices\RuntimeHelpers.cs (3)
36return EventCallback.Factory.Create<T>(receiver, callback); 53return EventCallback.Factory.Create<T>(receiver, callback); 70return EventCallback.Factory.Create<T>(receiver, callback);
EventCallback.cs (4)
19/// Gets an empty <see cref="EventCallback"/>. 21public static readonly EventCallback Empty = new EventCallback(null, (Action)(() => { })); 27/// Creates the new <see cref="EventCallback"/>. 81=> obj is EventCallback other
EventCallbackFactory.cs (27)
9/// A factory for creating <see cref="EventCallback"/> and <see cref="EventCallback{T}"/> 21public EventCallback Create(object receiver, EventCallback callback) 29/// Creates an <see cref="EventCallback"/> for the provided <paramref name="receiver"/> and 34/// <returns>The <see cref="EventCallback"/>.</returns> 35public EventCallback Create(object receiver, Action callback) 43/// Creates an <see cref="EventCallback"/> for the provided <paramref name="receiver"/> and 48/// <returns>The <see cref="EventCallback"/>.</returns> 49public EventCallback Create(object receiver, Action<object> callback) 57/// Creates an <see cref="EventCallback"/> for the provided <paramref name="receiver"/> and 62/// <returns>The <see cref="EventCallback"/>.</returns> 63public EventCallback Create(object receiver, Func<Task> callback) 71/// Creates an <see cref="EventCallback"/> for the provided <paramref name="receiver"/> and 76/// <returns>The <see cref="EventCallback"/>.</returns> 77public EventCallback Create(object receiver, Func<object, Task> callback) 91public EventCallback<TValue> Create<TValue>(object receiver, EventCallback callback) 113/// Creates an <see cref="EventCallback"/> for the provided <paramref name="receiver"/> and 118/// <returns>The <see cref="EventCallback"/>.</returns> 127/// Creates an <see cref="EventCallback"/> for the provided <paramref name="receiver"/> and 132/// <returns>The <see cref="EventCallback"/>.</returns> 141/// Creates an <see cref="EventCallback"/> for the provided <paramref name="receiver"/> and 146/// <returns>The <see cref="EventCallback"/>.</returns> 155/// Creates an <see cref="EventCallback"/> for the provided <paramref name="receiver"/> and 160/// <returns>The <see cref="EventCallback"/>.</returns> 169/// Creates an <see cref="EventCallback"/> for the provided <paramref name="receiver"/> and 183/// Creates an <see cref="EventCallback"/> for the provided <paramref name="receiver"/> and 196private static EventCallback CreateCore(object receiver, MulticastDelegate callback)
EventCallbackFactoryBinderExtensions.cs (1)
11/// Contains extension methods for two-way binding using <see cref="EventCallback"/>. For internal use only.
EventCallbackFactoryEventArgsExtensions.cs (8)
12/// Creates an <see cref="EventCallback"/> for the provided <paramref name="receiver"/> and 18/// <returns>The <see cref="EventCallback"/>.</returns> 27/// Creates an <see cref="EventCallback"/> for the provided <paramref name="receiver"/> and 33/// <returns>The <see cref="EventCallback"/>.</returns> 42/// Creates an <see cref="EventCallback"/> for the provided <paramref name="receiver"/> and 48/// <returns>The <see cref="EventCallback"/>.</returns> 57/// Creates an <see cref="EventCallback"/> for the provided <paramref name="receiver"/> and 63/// <returns>The <see cref="EventCallback"/>.</returns>
EventCallbackOfT.cs (1)
65internal EventCallback AsUntyped()
Rendering\RenderTreeBuilder.cs (3)
259/// Appends a frame representing an <see cref="EventCallback"/> attribute. 273public void AddAttribute(int sequence, string name, EventCallback value) 303/// Appends a frame representing an <see cref="EventCallback"/> attribute.
RenderTree\Renderer.cs (3)
32private readonly Dictionary<ulong, (int RenderedByComponentId, EventCallback Callback)> _eventBindings = new(); 622if (frame.AttributeValueField is EventCallback callback) 682private (int RenderedByComponentId, EventCallback Callback) GetRequiredEventBindingEntry(ulong eventHandlerId)
RenderTree\RenderTreeDiffBuilder.cs (1)
977if ((newFrame.AttributeValueField is MulticastDelegate || newFrame.AttributeValueField is EventCallback) &&
Microsoft.AspNetCore.Components.QuickGrid (2)
QuickGrid.razor.cs (2)
157_currentPageItemsChanged = new(EventCallback.Factory.Create<PaginationState>(this, RefreshDataCoreAsync)); 165EventCallback.Factory.Create<object?>(this, RefreshDataCoreAsync));
Microsoft.AspNetCore.Components.Tests (134)
EventCallbackFactoryBinderExtensionsTest.cs (34)
20var binder = EventCallback.Factory.CreateBinder(component, setter, value); 37var binder = EventCallback.Factory.CreateBinder(component, setter, value); 53var binder = EventCallback.Factory.CreateBinder(component, setter, 17); 72var binder = EventCallback.Factory.CreateBinder(component, setter, value); 89var binder = EventCallback.Factory.CreateBinder(component, setter, value); 106var binder = EventCallback.Factory.CreateBinder(component, setter, value); 125var binder = EventCallback.Factory.CreateBinder(component, setter, value); 144var binder = EventCallback.Factory.CreateBinder(component, setter, value); 163var binder = EventCallback.Factory.CreateBinder(component, setter, value); 182var binder = EventCallback.Factory.CreateBinder(component, setter, value); 201var binder = EventCallback.Factory.CreateBinder(component, setter, value); 220var binder = EventCallback.Factory.CreateBinder(component, setter, value); 239var binder = EventCallback.Factory.CreateBinder(component, setter, value); 258var binder = EventCallback.Factory.CreateBinder(component, setter, value); 277var binder = EventCallback.Factory.CreateBinder(component, setter, value); 296var binder = EventCallback.Factory.CreateBinder(component, setter, value); 315var binder = EventCallback.Factory.CreateBinder(component, setter, value); 334var binder = EventCallback.Factory.CreateBinder(component, setter, value); 353var binder = EventCallback.Factory.CreateBinder(component, setter, value); 372var binder = EventCallback.Factory.CreateBinder(component, setter, value); 391var binder = EventCallback.Factory.CreateBinder(component, setter, value); 410var binder = EventCallback.Factory.CreateBinder(component, setter, value); 430var binder = EventCallback.Factory.CreateBinder(component, setter, value, format); 450var binder = EventCallback.Factory.CreateBinder(component, setter, value, format); 469var binder = EventCallback.Factory.CreateBinder(component, setter, value); 488var binder = EventCallback.Factory.CreateBinder(component, setter, value); 508var binder = EventCallback.Factory.CreateBinder(component, setter, value, format); 528var binder = EventCallback.Factory.CreateBinder(component, setter, value, format); 548var binder = EventCallback.Factory.CreateBinder(component, setter, value); 568var binder = EventCallback.Factory.CreateBinder(component, setter, value); 587var binder = EventCallback.Factory.CreateBinder(component, setter, value); 605var ex = Assert.Throws<InvalidOperationException>(() => EventCallback.Factory.CreateBinder(component, setter, value)); 622var binder = EventCallback.Factory.CreateBinder(component, setter, value, culture: null); 641var binder = EventCallback.Factory.CreateBinder(component, setter, value, CultureInfo.InvariantCulture);
EventCallbackFactoryTest.cs (46)
14var input = new EventCallback(component, @delegate); 19var callback = EventCallback.Factory.Create(anotherComponent, input); 35var callback = EventCallback.Factory.Create(component, @delegate); 53var callback = EventCallback.Factory.Create(anotherComponent, @delegate); 71var callback = EventCallback.Factory.Create(anotherComponent, @delegate); 86var callback = EventCallback.Factory.Create(component, (Action)null); 102var callback = EventCallback.Factory.Create(component, @delegate); 120var callback = EventCallback.Factory.Create(anotherComponent, @delegate); 138var callback = EventCallback.Factory.Create(anotherComponent, @delegate); 153var callback = EventCallback.Factory.Create(component, (Action<string>)null); 169var callback = EventCallback.Factory.Create(component, @delegate); 187var callback = EventCallback.Factory.Create(anotherComponent, @delegate); 205var callback = EventCallback.Factory.Create(anotherComponent, @delegate); 221var callback = EventCallback.Factory.Create(component, @delegate); 236var callback = EventCallback.Factory.Create(component, (Func<Task>)null); 254var callback = EventCallback.Factory.Create(anotherComponent, @delegate); 272var callback = EventCallback.Factory.Create(anotherComponent, @delegate); 287var callback = EventCallback.Factory.Create(component, (Func<string, Task>)null); 306var callback = EventCallback.Factory.Create<string>(anotherComponent, input); 322var callback = EventCallback.Factory.Create<string>(component, @delegate); 340var callback = EventCallback.Factory.Create<string>(anotherComponent, @delegate); 358var callback = EventCallback.Factory.Create<string>(anotherComponent, @delegate); 373var callback = EventCallback.Factory.Create<string>(component, (Action)null); 389var callback = EventCallback.Factory.Create<string>(component, @delegate); 407var callback = EventCallback.Factory.Create<string>(anotherComponent, @delegate); 422var callback = EventCallback.Factory.Create<string>(component, (Action<string>)null); 440var callback = EventCallback.Factory.Create<string>(anotherComponent, @delegate); 456var callback = EventCallback.Factory.Create<string>(component, @delegate); 474var callback = EventCallback.Factory.Create<string>(anotherComponent, @delegate); 492var callback = EventCallback.Factory.Create<string>(anotherComponent, @delegate); 507var callback = EventCallback.Factory.Create<string>(component, (Func<Task>)null); 523var callback = EventCallback.Factory.Create<string>(component, @delegate); 541var callback = EventCallback.Factory.Create<string>(anotherComponent, @delegate); 559var callback = EventCallback.Factory.Create<string>(anotherComponent, @delegate); 574var callback = EventCallback.Factory.Create<string>(component, (Func<string, Task>)null); 590var callback = EventCallback.Factory.CreateInferred<string>(component, @delegate, "hi"); 606var callback = EventCallback.Factory.CreateInferred<string>(component, @delegate, "hi");
EventCallbackTest.cs (15)
14var callback = default(EventCallback); 35var callback = new EventCallback(null, (Action)(() => runCount++)); 65var callback = new EventCallback(component, (Action)(() => runCount++)); 82var callback = new EventCallback(component, (Action)(() => runCount++)); 100var callback = new EventCallback(component, (Action<EventArgs>)((e) => { arg = e; runCount++; })); 119var callback = new EventCallback(component, (Action<EventArgs>)((e) => { arg = e; runCount++; })); 138var callback = new EventCallback(component, (Action<int>)((e) => { arg = e; runCount++; })); 157var callback = new EventCallback(component, (Action<EventArgs>)((e) => { arg = e; runCount++; })); 173var callback = new EventCallback(component, (Func<Task>)(() => { runCount++; return Task.CompletedTask; })); 190var callback = new EventCallback(component, (Func<Task>)(() => { runCount++; return Task.CompletedTask; })); 208var callback = new EventCallback(component, (Func<EventArgs, Task>)((e) => { arg = e; runCount++; return Task.CompletedTask; })); 227var callback = new EventCallback(component, (Func<EventArgs, Task>)((e) => { arg = e; runCount++; return Task.CompletedTask; })); 246var callback = new EventCallback(component, (Func<int, Task>)((e) => { arg = e; runCount++; return Task.CompletedTask; })); 265var callback = new EventCallback(component, (Func<EventArgs, Task>)((e) => { arg = e; runCount++; return Task.CompletedTask; }));
RendererTest.cs (27)
1104builder.AddComponentParameter(1, nameof(EventComponent.OnClickEventCallback), EventCallback.Factory.Create(parentComponent, (Action)parentComponent.SomeMethod)); 1142builder.AddComponentParameter(1, nameof(EventComponent.OnClickEventCallback), EventCallback.Factory.Create(parentComponent, (Action)(() => 1183builder.AddComponentParameter(1, nameof(EventComponent.OnClickEventCallback), EventCallback.Factory.Create(parentComponent, (Func<Task>)(() => 1223builder.AddComponentParameter(1, nameof(EventComponent.OnClickEventCallbackOfT), EventCallback.Factory.Create<DerivedEventArgs>(parentComponent, (Action)parentComponent.SomeMethod)); 1261builder.AddComponentParameter(1, nameof(EventComponent.OnClickEventCallbackOfT), EventCallback.Factory.Create<DerivedEventArgs>(parentComponent, (Action)(() => 1302builder.AddComponentParameter(1, nameof(EventComponent.OnClickEventCallbackOfT), EventCallback.Factory.Create<DerivedEventArgs>(parentComponent, (Func<Task>)(() => 1374builder.AddComponentParameter(1, nameof(EventComponent.OnClickEventCallback), EventCallback.Factory.Create(parentComponent, (Action)(() => 1408builder.AddComponentParameter(1, nameof(EventComponent.OnClickEventCallbackOfT), EventCallback.Factory.Create(parentComponent, (Action<DerivedEventArgs>)((e) => 1475builder.AddComponentParameter(1, nameof(EventComponent.OnClickEventCallback), EventCallback.Factory.Create(parentComponent, (Action)(() => 1509builder.AddComponentParameter(1, nameof(EventComponent.OnClickEventCallbackOfT), EventCallback.Factory.Create(parentComponent, (Action<DerivedEventArgs>)((e) => 1577builder.AddComponentParameter(1, nameof(EventComponent.OnClickEventCallback), EventCallback.Factory.Create(parentComponent, (Action)(() => 1611builder.AddComponentParameter(1, nameof(EventComponent.OnClickEventCallbackOfT), EventCallback.Factory.Create<DerivedEventArgs>(parentComponent, (Action<DerivedEventArgs>)((e) => 1684builder.AddComponentParameter(1, nameof(EventComponent.OnClickEventCallback), EventCallback.Factory.Create(parentComponent, async () => 1721builder.AddComponentParameter(1, nameof(EventComponent.OnClickEventCallbackOfT), EventCallback.Factory.Create<DerivedEventArgs>(parentComponent, async (e) => 1798builder.AddComponentParameter(1, nameof(EventComponent.OnClickEventCallback), EventCallback.Factory.Create(parentComponent, async () => 1838builder.AddComponentParameter(1, nameof(EventComponent.OnClickEventCallbackOfT), EventCallback.Factory.Create<DerivedEventArgs>(parentComponent, async (e) => 1917builder.AddComponentParameter(1, nameof(EventComponent.OnClickEventCallback), EventCallback.Factory.Create(parentComponent, async () => 1956builder.AddComponentParameter(1, nameof(EventComponent.OnClickEventCallbackOfT), EventCallback.Factory.Create<DerivedEventArgs>(parentComponent, async (e) => 3122builder.AddAttribute(1, "onchange", EventCallback.Factory.CreateBinder( 3161builder.AddAttribute(1, "onchange", EventCallback.Factory.CreateBinder( 3195builder.AddAttribute(1, "onchange", EventCallback.Factory.CreateBinder( 3235builder.AddAttribute(1, "onchange", EventCallback.Factory.CreateBinder( 5295public EventCallback OnClickEventCallback { get; set; } 5442builder.AddAttribute(1, "onmycustomevent", EventCallback.Factory.Create(this, eventArgs => OnClick(eventArgs))); 5489builder.AddAttribute(3, "onchange", EventCallback.Factory.CreateBinder<bool>(this, __value => CheckboxEnabled = __value, CheckboxEnabled)); 5493builder.AddAttribute(6, "onchange", EventCallback.Factory.CreateBinder<string>(this, __value => SomeStringProperty = __value, SomeStringProperty)); 6030builder.AddAttribute(1, "onmakeerror", EventCallback.Factory.Create(this, () => { }));
Rendering\RenderTreeBuilderTest.cs (11)
1177var callback = new EventCallback(null, new Action(() => { })); 1196var callback = default(EventCallback); 1215var callback = new EventCallback(receiver, new Action(() => { })); 1235var callback = new EventCallback(receiver, new Action(() => { })); 1255var callback = new EventCallback(receiver, new Action(() => { })); 1542var callback = new EventCallback(null, new Action(() => { })); 1561var callback = default(EventCallback); 1580var callback = new EventCallback(receiver, new Action(() => { })); 1600var callback = new EventCallback(receiver, new Action(() => { }));
RenderTreeDiffBuilderTest.cs (1)
1762tree.AddComponentParameter(1, "MyEventCallback", EventCallback.Empty);
Microsoft.AspNetCore.Components.Web (50)
Forms\InputCheckbox.cs (1)
45builder.AddAttribute(7, "onchange", EventCallback.Factory.CreateBinder<bool>(this, __value => CurrentValue = __value, CurrentValue));
Forms\InputDate.cs (1)
92builder.AddAttribute(6, "onchange", EventCallback.Factory.CreateBinder<string?>(this, __value => CurrentValueAsString = __value, CurrentValueAsString));
Forms\InputNumber.cs (1)
61builder.AddAttribute(7, "onchange", EventCallback.Factory.CreateBinder<string?>(this, __value => CurrentValueAsString = __value, CurrentValueAsString));
Forms\InputRadioGroup.cs (1)
38var changeEventCallback = EventCallback.Factory.CreateBinder<string?>(this, __value => CurrentValueAsString = __value, CurrentValueAsString);
Forms\InputSelect.cs (2)
50builder.AddAttribute(6, "onchange", EventCallback.Factory.CreateBinder<string?[]?>(this, SetCurrentValueAsStringArray, default)); 56builder.AddAttribute(8, "onchange", EventCallback.Factory.CreateBinder<string?>(this, __value => CurrentValueAsString = __value, default));
Forms\InputText.cs (1)
39builder.AddAttribute(5, "onchange", EventCallback.Factory.CreateBinder<string?>(this, __value => CurrentValueAsString = __value, CurrentValueAsString));
Forms\InputTextArea.cs (1)
39builder.AddAttribute(5, "onchange", EventCallback.Factory.CreateBinder<string?>(this, __value => CurrentValueAsString = __value, CurrentValueAsString));
JSComponents\JSComponentInterop.cs (2)
169var x when x == typeof(EventCallback) => ParameterKind.EventCallbackWithNoParameters, 174private static EventCallback CreateEventCallbackWithNoParameters(IJSObjectReference? jsObjectReference)
Web\WebEventCallbackFactoryEventArgsExtensions.cs (40)
12/// Creates an <see cref="EventCallback"/> for the provided <paramref name="receiver"/> and 18/// <returns>The <see cref="EventCallback"/>.</returns> 28/// Creates an <see cref="EventCallback"/> for the provided <paramref name="receiver"/> and 34/// <returns>The <see cref="EventCallback"/>.</returns> 44/// Creates an <see cref="EventCallback"/> for the provided <paramref name="receiver"/> and 50/// <returns>The <see cref="EventCallback"/>.</returns> 60/// Creates an <see cref="EventCallback"/> for the provided <paramref name="receiver"/> and 66/// <returns>The <see cref="EventCallback"/>.</returns> 76/// Creates an <see cref="EventCallback"/> for the provided <paramref name="receiver"/> and 82/// <returns>The <see cref="EventCallback"/>.</returns> 92/// Creates an <see cref="EventCallback"/> for the provided <paramref name="receiver"/> and 98/// <returns>The <see cref="EventCallback"/>.</returns> 108/// Creates an <see cref="EventCallback"/> for the provided <paramref name="receiver"/> and 114/// <returns>The <see cref="EventCallback"/>.</returns> 124/// Creates an <see cref="EventCallback"/> for the provided <paramref name="receiver"/> and 130/// <returns>The <see cref="EventCallback"/>.</returns> 140/// Creates an <see cref="EventCallback"/> for the provided <paramref name="receiver"/> and 146/// <returns>The <see cref="EventCallback"/>.</returns> 156/// Creates an <see cref="EventCallback"/> for the provided <paramref name="receiver"/> and 162/// <returns>The <see cref="EventCallback"/>.</returns> 172/// Creates an <see cref="EventCallback"/> for the provided <paramref name="receiver"/> and 178/// <returns>The <see cref="EventCallback"/>.</returns> 188/// Creates an <see cref="EventCallback"/> for the provided <paramref name="receiver"/> and 194/// <returns>The <see cref="EventCallback"/>.</returns> 203/// Creates an <see cref="EventCallback"/> for the provided <paramref name="receiver"/> and 209/// <returns>The <see cref="EventCallback"/>.</returns> 219/// Creates an <see cref="EventCallback"/> for the provided <paramref name="receiver"/> and 225/// <returns>The <see cref="EventCallback"/>.</returns> 235/// Creates an <see cref="EventCallback"/> for the provided <paramref name="receiver"/> and 241/// <returns>The <see cref="EventCallback"/>.</returns> 251/// Creates an <see cref="EventCallback"/> for the provided <paramref name="receiver"/> and 257/// <returns>The <see cref="EventCallback"/>.</returns> 267/// Creates an <see cref="EventCallback"/> for the provided <paramref name="receiver"/> and 273/// <returns>The <see cref="EventCallback"/>.</returns> 283/// Creates an <see cref="EventCallback"/> for the provided <paramref name="receiver"/> and 289/// <returns>The <see cref="EventCallback"/>.</returns> 299/// Creates an <see cref="EventCallback"/> for the provided <paramref name="receiver"/> and 305/// <returns>The <see cref="EventCallback"/>.</returns> 315/// Creates an <see cref="EventCallback"/> for the provided <paramref name="receiver"/> and 321/// <returns>The <see cref="EventCallback"/>.</returns>
Microsoft.AspNetCore.Components.Web.Tests (1)
Forms\TestInputHostComponent.cs (1)
31EventCallback.Factory.Create(this, ValueChanged));