3 instantiations of EventCallbackWorkItem
Microsoft.AspNetCore.Components (3)
EventCallback.cs (1)
60return Receiver.HandleEventAsync(new EventCallbackWorkItem(Delegate), arg);
EventCallbackOfT.cs (1)
55return Receiver.HandleEventAsync(new EventCallbackWorkItem(Delegate), arg);
EventCallbackWorkItem.cs (1)
16public static readonly EventCallbackWorkItem Empty = new EventCallbackWorkItem(null);
17 references to EventCallbackWorkItem
Microsoft.AspNetCore.Components (9)
ComponentBase.cs (1)
349Task IHandleEvent.HandleEventAsync(EventCallbackWorkItem callback, object? arg)
EventCallback.cs (1)
57return EventCallbackWorkItem.InvokeAsync<object?>(Delegate, arg);
EventCallbackOfT.cs (1)
52return EventCallbackWorkItem.InvokeAsync<TValue?>(Delegate, arg);
EventCallbackWorkItem.cs (4)
14/// An empty <see cref="EventCallbackWorkItem"/>. 16public static readonly EventCallbackWorkItem Empty = new EventCallbackWorkItem(null); 21/// Creates a new <see cref="EventCallbackWorkItem"/> with the provided <paramref name="delegate"/>. 30/// Invokes the delegate associated with this <see cref="EventCallbackWorkItem"/>.
IHandleEvent.cs (2)
14/// <param name="item">The <see cref="EventCallbackWorkItem"/> associated with this event.</param> 19Task HandleEventAsync(EventCallbackWorkItem item, object? arg);
Microsoft.AspNetCore.Components.Tests (8)
EventCallbackFactoryBinderExtensionsTest.cs (1)
656public Task HandleEventAsync(EventCallbackWorkItem item, object arg)
EventCallbackFactoryTest.cs (1)
639public Task HandleEventAsync(EventCallbackWorkItem item, object arg)
EventCallbackTest.cs (1)
422public Task HandleEventAsync(EventCallbackWorkItem item, object arg)
RendererTest.cs (5)
5361public Task HandleEventAsync(EventCallbackWorkItem callback, object arg) 5431public Task HandleEventAsync(EventCallbackWorkItem callback, object arg) 5477public Task HandleEventAsync(EventCallbackWorkItem callback, object arg) 5630public Task HandleEventAsync(EventCallbackWorkItem callback, object arg) 6035public async Task HandleEventAsync(EventCallbackWorkItem item, object arg)