15 references to Create
Aspire.Dashboard (7)
Components\Interactions\InteractionsProvider.cs (3)
165dialogParameters.OnDialogResult = EventCallback.Factory.Create<DialogResult>(this, async dialogResult => 254dialogParameters.OnDialogResult = EventCallback.Factory.Create<DialogResult>(this, async dialogResult => 286dialogParameters.OnDialogResult = EventCallback.Factory.Create<DialogResult>(this, async dialogResult =>
Components\Pages\ConsoleLogs.razor.cs (2)
746EventCallback.Factory.Create<bool>(this, async 796EventCallback.Factory.Create<CommandViewModel>(this, ExecuteResourceCommandAsync),
Components\Pages\Resources.razor.cs (2)
526EventCallback.Factory.Create<bool>( 632EventCallback.Factory.Create<CommandViewModel>(this, (command) => ExecuteResourceCommandAsync(resource, command)),
Aspire.Dashboard.Components.Tests (1)
Controls\ResourceDetailsTests.cs (1)
850builder.Add(p => p.CommandSelected, EventCallback.Factory.Create<CommandViewModel>(this, _ => Task.CompletedTask));
Microsoft.AspNetCore.Components (6)
CompilerServices\RuntimeHelpers.cs (1)
53return EventCallback.Factory.Create<T>(receiver, callback);
EventCallbackFactory.cs (1)
193return Create(receiver, callback);
EventCallbackFactoryBinderExtensions.cs (2)
1435return factory.Create<ChangeEventArgs>(receiver, callback); 1525return factory.Create<ChangeEventArgs>(receiver, callback);
EventCallbackFactoryEventArgsExtensions.cs (2)
38return factory.Create<EventArgs>(receiver, callback); 68return factory.Create<ChangeEventArgs>(receiver, callback);
Microsoft.AspNetCore.Components.AI (1)
Components\MessageInput.cs (1)
109EventCallback.Factory.Create<KeyboardEventArgs>(this, OnKeyDown));