21 references to Create
Aspire.Dashboard (9)
Components\Layout\MainLayout.razor.cs (4)
430OnDialogClosing = EventCallback.Factory.Create<IDialogInstance>(this, _ => HandleDialogClose(GetVisibleReturnFocusElementId(returnFocusElementId, HelpButtonId))) 489OnDialogClosing = EventCallback.Factory.Create<IDialogInstance>(this, _ => HandleDialogClose(GetVisibleReturnFocusElementId(returnFocusElementId, SettingsButtonId))) 514OnDialogClosing = EventCallback.Factory.Create<IDialogInstance>(this, _ => HandleDialogClose()) 553OnDialogClosing = EventCallback.Factory.Create<IDialogInstance>(this, _ => HandleDialogClose(RunSelectButtonId))
Components\Layout\ResourcesLayout.razor.cs (1)
1748EventCallback.Factory.Create<bool>(this, value =>
Components\Legacy\Layout\LegacyMainLayout.razor.cs (4)
378OnDialogClosing = EventCallback.Factory.Create<IDialogInstance>(this, _ => HandleDialogClose(GetVisibleReturnFocusElementId(returnFocusElementId, HelpButtonId))) 436OnDialogClosing = EventCallback.Factory.Create<IDialogInstance>(this, _ => HandleDialogClose()) 460OnDialogClosing = EventCallback.Factory.Create<IDialogInstance>(this, _ => HandleDialogClose(GetVisibleReturnFocusElementId(returnFocusElementId, SettingsButtonId))) 485OnDialogClosing = EventCallback.Factory.Create<IDialogInstance>(this, _ => HandleDialogClose())
Aspire.Dashboard.Components.Tests (5)
Controls\AspireMenuTests.cs (1)
206builder.Add(p => p.OpenChanged, EventCallback.Factory.Create<bool>(this, openChanges.Add));
Controls\ChartFiltersTests.cs (2)
364builder.Add(p => p.ShowChangePerIntervalChanged, EventCallback.Factory.Create<bool>(this, value => changedValue = value)); 394builder.Add(p => p.OnDimensionValuesChanged, EventCallback.Factory.Create(this, onDimensionValuesChanged));
Controls\ResourceDetailsTests.cs (2)
827builder.Add(p => p.CommandSelected, EventCallback.Factory.Create<CommandViewModel>(this, c => capturedCommand = c)); 873builder.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>(