Soenneker.Blazor.Extensions.EventCallback
4.0.457
Prefix Reserved
See the version list below for details.
dotnet add package Soenneker.Blazor.Extensions.EventCallback --version 4.0.457
NuGet\Install-Package Soenneker.Blazor.Extensions.EventCallback -Version 4.0.457
<PackageReference Include="Soenneker.Blazor.Extensions.EventCallback" Version="4.0.457" />
<PackageVersion Include="Soenneker.Blazor.Extensions.EventCallback" Version="4.0.457" />
<PackageReference Include="Soenneker.Blazor.Extensions.EventCallback" />
paket add Soenneker.Blazor.Extensions.EventCallback --version 4.0.457
#r "nuget: Soenneker.Blazor.Extensions.EventCallback, 4.0.457"
#:package Soenneker.Blazor.Extensions.EventCallback@4.0.457
#addin nuget:?package=Soenneker.Blazor.Extensions.EventCallback&version=4.0.457
#tool nuget:?package=Soenneker.Blazor.Extensions.EventCallback&version=4.0.457
Soenneker.Blazor.Extensions.EventCallback
A collection of helpful Blazor EventCallback extension methods.
Install
dotnet add package Soenneker.Blazor.Extensions.EventCallback
Quick start
using Soenneker.Blazor.Extensions.EventCallback;
EventCallback<T> callback = /* obtain from your application */;
await callback.InvokeIfHasDelegate(/* supply arg */ default!);
Asynchronously invokes the EventCallback{T} if it has been assigned a delegate and is not null.
What you get
EventCallbackExtension— A collection of helpful Blazor EventCallback extension methods.
API at a glance
| API | What it does | Result / important behavior |
|---|---|---|
EventCallbackExtension.InvokeIfHasDelegate(callback, arg) |
Asynchronously invokes the EventCallback{T} if it has been assigned a delegate and is not null. |
A Task representing the asynchronous operation. |
EventCallbackExtension.InvokeIfHasDelegate(callback) |
Invokes the specified EventCallback if it has a delegate assigned. |
A Task representing the asynchronous operation. |
Important behavior
EventCallbackExtension.InvokeIfHasDelegate(callback, arg): This method checks if the callback is not null and if it has a delegate assigned (usingEventCallback.HasDelegate). It will invoke the delegate asynchronously, using the provided argument.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.AspNetCore.Components (>= 10.0.11)
NuGet packages (12)
Showing the top 5 NuGet packages that depend on Soenneker.Blazor.Extensions.EventCallback:
| Package | Downloads |
|---|---|
|
Soenneker.Blazor.TomSelect
A Blazor interop library for the select user control library, Tom Select |
|
|
Soenneker.Blazor.Turnstile
Renders a Cloudflare Turnstile widget in Blazor and exposes its token and lifecycle events. |
|
|
Soenneker.Blazor.DataTables
A Blazor interop library for DataTables |
|
|
Soenneker.Blazor.Stripe.Elements
A modular, strongly-typed Blazor library for Stripe Elements |
|
|
Soenneker.Blazor.Chatwoot
A Blazor interop library for Chatwoot, the open-source customer engagement suite. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.458 | 3,113 | 8/29/2026 |
| 4.0.457 | 199 | 8/29/2026 |
| 4.0.456 | 9,118 | 8/11/2026 |
| 4.0.455 | 10,205 | 7/27/2026 |
| 4.0.454 | 11,099 | 7/16/2026 |
| 4.0.453 | 2,966 | 7/14/2026 |
| 4.0.452 | 12,024 | 6/18/2026 |
| 4.0.451 | 7,349 | 6/9/2026 |
| 4.0.450 | 5,099 | 6/5/2026 |
| 4.0.449 | 8,368 | 5/12/2026 |
| 4.0.448 | 11,083 | 4/22/2026 |
| 4.0.447 | 766 | 4/21/2026 |
| 4.0.446 | 5,750 | 4/14/2026 |
| 4.0.445 | 15,189 | 3/22/2026 |
| 4.0.444 | 4,014 | 3/12/2026 |
| 4.0.443 | 270 | 3/12/2026 |
| 4.0.442 | 207 | 3/12/2026 |
| 4.0.441 | 217 | 3/12/2026 |
| 4.0.440 | 1,034 | 3/12/2026 |
| 4.0.439 | 2,629 | 3/10/2026 |
Improve README usability and API guidance