14 references to Create
Aspire.Dashboard (4)
Components\Layout\MainLayout.razor.cs (4)
323OnDialogClosing = EventCallback.Factory.Create<DialogInstance>(this, _ => HandleDialogClose(GetVisibleReturnFocusElementId(returnFocusElementId, HelpButtonId))) 383OnDialogClosing = EventCallback.Factory.Create<DialogInstance>(this, _ => HandleDialogClose()) 409OnDialogClosing = EventCallback.Factory.Create<DialogInstance>(this, _ => HandleDialogClose(GetVisibleReturnFocusElementId(returnFocusElementId, SettingsButtonId))) 443OnDialogClosing = EventCallback.Factory.Create<DialogInstance>(this, _ => HandleDialogClose())
Aspire.Dashboard.Components.Tests (3)
Controls\ChartFiltersTests.cs (1)
190builder.Add(p => p.OnDimensionValuesChanged, EventCallback.Factory.Create(this, onDimensionValuesChanged));
Controls\ResourceDetailsTests.cs (2)
759builder.Add(p => p.CommandSelected, EventCallback.Factory.Create<CommandViewModel>(this, c => capturedCommand = c)); 805builder.Add(p => p.CommandSelected, EventCallback.Factory.Create<CommandViewModel>(this, c => capturedCommand = c));
Microsoft.AspNetCore.Components (6)
CompilerServices\RuntimeHelpers.cs (1)
36return EventCallback.Factory.Create<T>(receiver, callback);
EventCallbackFactory.cs (1)
179return Create(receiver, callback);
EventCallbackFactoryBinderExtensions.cs (2)
1391return factory.Create<ChangeEventArgs>(receiver, callback); 1480return factory.Create<ChangeEventArgs>(receiver, callback);
EventCallbackFactoryEventArgsExtensions.cs (2)
23return factory.Create<EventArgs>(receiver, callback); 53return factory.Create<ChangeEventArgs>(receiver, callback);
Microsoft.AspNetCore.Components.AI (1)
Components\MessageInput.cs (1)
98EventCallback.Factory.Create<ChangeEventArgs>(