Implemented interface member:
property
HasDelegate
Microsoft.AspNetCore.Components.IEventCallback.HasDelegate
20 references to HasDelegate
Aspire.Dashboard (4)
Components\Controls\AspireMenu.razor.cs (1)
212
if (OpenChanged.
HasDelegate
)
Components\Controls\TerminalWindowButton.razor.cs (1)
219
else if (result == TerminalWindowOpenResult.Blocked && !OnWindowOpened.
HasDelegate
)
Model\DashboardDialogService.cs (2)
195
if (parameters.OnDialogClosing.
HasDelegate
)
204
if (parameters.OnDialogResult.
HasDelegate
)
Aspire.Dashboard.Components.Tests (1)
Controls\TerminalWindowButtonTests.cs (1)
98
Assert.False(cut.FindComponent<FluentButton>().Instance.OnClick.
HasDelegate
);
Microsoft.AspNetCore.Components (2)
Rendering\RenderTreeBuilder.cs (1)
336
else if (value.
HasDelegate
)
Routing\Router.cs (1)
355
if (!OnNavigateAsync.
HasDelegate
)
Microsoft.AspNetCore.Components.QuickGrid (2)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\QuickGrid_razor.g.cs (2)
503
var combinedClass = OnRowClick.
HasDelegate
506
var rowClick = OnRowClick.
HasDelegate
? EventCallback.Factory.Create<MouseEventArgs>(this, () => OnRowClick.InvokeAsync(item)) : default;
Microsoft.AspNetCore.Components.Web (7)
Forms\EditForm.cs (6)
116
if (OnSubmit.
HasDelegate
&& (OnValidSubmit.
HasDelegate
|| OnInvalidSubmit.
HasDelegate
))
204
if (OnSubmit.
HasDelegate
)
214
if (isValid && OnValidSubmit.
HasDelegate
)
219
if (!isValid && OnInvalidSubmit.
HasDelegate
)
Routing\NavigationLock.cs (1)
21
private bool HasLocationChangingHandler => OnBeforeInternalNavigation.
HasDelegate
;
Microsoft.AspNetCore.Components.WebAssembly.Authentication (4)
RemoteAuthenticatorViewCore.cs (4)
224
if (OnLogInSucceeded.
HasDelegate
)
256
if (OnLogInSucceeded.
HasDelegate
)
307
if (OnLogOutSucceeded.
HasDelegate
)
344
if (OnLogOutSucceeded.
HasDelegate
)