November.MultiDispatch
1.1.1
dotnet add package November.MultiDispatch --version 1.1.1
NuGet\Install-Package November.MultiDispatch -Version 1.1.1
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="November.MultiDispatch" Version="1.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add November.MultiDispatch --version 1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: November.MultiDispatch, 1.1.1"
#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.
// Install November.MultiDispatch as a Cake Addin #addin nuget:?package=November.MultiDispatch&version=1.1.1 // Install November.MultiDispatch as a Cake Tool #tool nuget:?package=November.MultiDispatch&version=1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Short version:
dispatcher.On<string, int>(MyHandler);
dispatcher.On<bool, int>(OtherHandler);
dispatcher.Dispatch(true, 13);
Also feature guard conditions, an alternative fluent API and a fallback handler.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 1.1
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
1.1.0:
- you can influence which of multiple matching handlers is used via the order in which you register them
- you can define that you're interested in matching only the left or only the right side
1.0:
- Initial release.