Mediator.Switch.SourceGenerator
3.2.0
dotnet add package Mediator.Switch.SourceGenerator --version 3.2.0
NuGet\Install-Package Mediator.Switch.SourceGenerator -Version 3.2.0
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="Mediator.Switch.SourceGenerator" Version="3.2.0"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Mediator.Switch.SourceGenerator" Version="3.2.0" />
<PackageReference Include="Mediator.Switch.SourceGenerator"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
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 Mediator.Switch.SourceGenerator --version 3.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Mediator.Switch.SourceGenerator, 3.2.0"
#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 Mediator.Switch.SourceGenerator@3.2.0
#: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=Mediator.Switch.SourceGenerator&version=3.2.0
#tool nuget:?package=Mediator.Switch.SourceGenerator&version=3.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
A Mediator implementation using source generated C# switch expressions for handler dispatch enabling faster execution, improved startup times, step-into debuggability, and compile-time safety.
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- Mediator.Switch (>= 3.2.0)
- Microsoft.CodeAnalysis.Analyzers (>= 3.3.4)
- Microsoft.CodeAnalysis.CSharp (>= 4.2.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.2.0 | 143 | 3/30/2026 |
| 3.1.0 | 275 | 3/7/2026 |
| 3.0.0 | 448 | 1/6/2026 |
| 2.2.0 | 100 | 1/6/2026 |
| 2.2.0-preview1 | 95 | 1/6/2026 |
| 2.1.1 | 108 | 1/6/2026 |
| 2.1.0 | 258 | 12/24/2025 |
| 2.0.0 | 180 | 12/24/2025 |
| 1.18.0 | 248 | 12/23/2025 |
| 1.17.0 | 377 | 5/12/2025 |
| 1.16.1 | 182 | 5/11/2025 |
| 1.16.0 | 177 | 5/11/2025 |
| 1.15.0 | 121 | 5/10/2025 |
| 1.14.0 | 120 | 5/10/2025 |
| 1.13.1 | 201 | 4/30/2025 |
| 1.13.0 | 206 | 4/28/2025 |
| 1.12.1 | 205 | 4/23/2025 |
| 1.12.0 | 203 | 4/22/2025 |
| 1.11.0 | 207 | 4/21/2025 |
| 1.10.1 | 206 | 4/21/2025 |
Loading failed