8 references to Create
Aspire.Dashboard (1)
Components\Layout\AspirePageContentLayout.razor.cs (1)
92OnDialogClosing = EventCallback.Factory.Create<DialogInstance>(this, async () =>
Microsoft.AspNetCore.Components.QuickGrid (2)
QuickGrid.razor.cs (2)
162_currentPageItemsChanged = new(EventCallback.Factory.Create<PaginationState>(this, RefreshDataCoreAsync)); 170EventCallback.Factory.Create<object?>(this, RefreshDataCoreAsync));
Microsoft.AspNetCore.Components.Tests (5)
EventCallbackFactoryTest.cs (4)
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);
RendererTest.cs (1)
1302builder.AddComponentParameter(1, nameof(EventComponent.OnClickEventCallbackOfT), EventCallback.Factory.Create<DerivedEventArgs>(parentComponent, (Func<Task>)(() =>