Soenneker.Blazor.Extensions.EventCallback 4.0.457

Prefix Reserved
There is a newer version of this package available.
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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Blazor.Extensions.EventCallback" Version="4.0.457" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Blazor.Extensions.EventCallback" Version="4.0.457" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Blazor.Extensions.EventCallback" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Blazor.Extensions.EventCallback --version 4.0.457
                    
#r "nuget: Soenneker.Blazor.Extensions.EventCallback, 4.0.457"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Blazor.Extensions.EventCallback@4.0.457
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Blazor.Extensions.EventCallback&version=4.0.457
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Blazor.Extensions.EventCallback&version=4.0.457
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

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 (using EventCallback.HasDelegate). It will invoke the delegate asynchronously, using the provided argument.
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
Loading failed

Improve README usability and API guidance