Mediator.Switch.SourceGenerator
4.0.0
dotnet add package Mediator.Switch.SourceGenerator --version 4.0.0
NuGet\Install-Package Mediator.Switch.SourceGenerator -Version 4.0.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="4.0.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="4.0.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 4.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Mediator.Switch.SourceGenerator, 4.0.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@4.0.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=4.0.0
#tool nuget:?package=Mediator.Switch.SourceGenerator&version=4.0.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 (>= 4.0.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 (1)
Showing the top 1 popular GitHub repositories that depend on Mediator.Switch.SourceGenerator:
| Repository | Stars |
|---|---|
|
ChilliCream/graphql-platform
Welcome to the home of the Hot Chocolate GraphQL server for .NET, the Strawberry Shake GraphQL client for .NET and Nitro the awesome Monaco based GraphQL IDE.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.0 | 832 | 11/18/2026 |
| 3.5.0 | 228 | 11/17/2026 |
| 3.4.3 | 95 | 11/17/2026 |
| 3.4.2 | 138 | 11/16/2026 |
| 3.4.1 | 104 | 11/16/2026 |
| 3.3.0 | 194 | 11/13/2026 |
| 3.2.0 | 7,257 | 3/30/2026 |
| 3.1.0 | 6,464 | 3/7/2026 |
| 3.0.0 | 593 | 1/6/2026 |
| 2.2.0 | 156 | 1/6/2026 |
| 2.2.0-preview1 | 146 | 1/6/2026 |
| 2.1.1 | 165 | 1/6/2026 |
| 2.1.0 | 316 | 12/24/2025 |
| 2.0.0 | 231 | 12/24/2025 |
| 1.18.0 | 303 | 12/23/2025 |
| 1.17.0 | 543 | 5/12/2025 |
| 1.16.1 | 232 | 5/11/2025 |
| 1.16.0 | 226 | 5/11/2025 |
| 1.15.0 | 175 | 5/10/2025 |
| 1.14.0 | 174 | 5/10/2025 |
Loading failed