21 references to Create
Aspire.Dashboard (9)
Components\Layout\MainLayout.razor.cs (4)
430
OnDialogClosing = EventCallback.Factory.
Create
<IDialogInstance>(this, _ => HandleDialogClose(GetVisibleReturnFocusElementId(returnFocusElementId, HelpButtonId)))
489
OnDialogClosing = EventCallback.Factory.
Create
<IDialogInstance>(this, _ => HandleDialogClose(GetVisibleReturnFocusElementId(returnFocusElementId, SettingsButtonId)))
514
OnDialogClosing = EventCallback.Factory.
Create
<IDialogInstance>(this, _ => HandleDialogClose())
553
OnDialogClosing = EventCallback.Factory.
Create
<IDialogInstance>(this, _ => HandleDialogClose(RunSelectButtonId))
Components\Layout\ResourcesLayout.razor.cs (1)
1748
EventCallback.Factory.
Create
<bool>(this, value =>
Components\Legacy\Layout\LegacyMainLayout.razor.cs (4)
378
OnDialogClosing = EventCallback.Factory.
Create
<IDialogInstance>(this, _ => HandleDialogClose(GetVisibleReturnFocusElementId(returnFocusElementId, HelpButtonId)))
436
OnDialogClosing = EventCallback.Factory.
Create
<IDialogInstance>(this, _ => HandleDialogClose())
460
OnDialogClosing = EventCallback.Factory.
Create
<IDialogInstance>(this, _ => HandleDialogClose(GetVisibleReturnFocusElementId(returnFocusElementId, SettingsButtonId)))
485
OnDialogClosing = EventCallback.Factory.
Create
<IDialogInstance>(this, _ => HandleDialogClose())
Aspire.Dashboard.Components.Tests (5)
Controls\AspireMenuTests.cs (1)
206
builder.Add(p => p.OpenChanged, EventCallback.Factory.
Create
<bool>(this, openChanges.Add));
Controls\ChartFiltersTests.cs (2)
364
builder.Add(p => p.ShowChangePerIntervalChanged, EventCallback.Factory.
Create
<bool>(this, value => changedValue = value));
394
builder.Add(p => p.OnDimensionValuesChanged, EventCallback.Factory.
Create
(this, onDimensionValuesChanged));
Controls\ResourceDetailsTests.cs (2)
827
builder.Add(p => p.CommandSelected, EventCallback.Factory.
Create
<CommandViewModel>(this, c => capturedCommand = c));
873
builder.Add(p => p.CommandSelected, EventCallback.Factory.
Create
<CommandViewModel>(this, c => capturedCommand = c));
Microsoft.AspNetCore.Components (6)
CompilerServices\RuntimeHelpers.cs (1)
36
return EventCallback.Factory.
Create
<T>(receiver, callback);
EventCallbackFactory.cs (1)
179
return
Create
(receiver, callback);
EventCallbackFactoryBinderExtensions.cs (2)
1391
return factory.
Create
<ChangeEventArgs>(receiver, callback);
1480
return factory.
Create
<ChangeEventArgs>(receiver, callback);
EventCallbackFactoryEventArgsExtensions.cs (2)
23
return factory.
Create
<EventArgs>(receiver, callback);
53
return factory.
Create
<ChangeEventArgs>(receiver, callback);
Microsoft.AspNetCore.Components.AI (1)
Components\MessageInput.cs (1)
98
EventCallback.Factory.
Create
<ChangeEventArgs>(