7 references to Create
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 (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>)(() =>