SwitchMediator
A Source-Generated Mediator for C#, Created Specifically to Address Pet Peeves with MediatR - but MUCH Faster and with MUCH Less Allocations!
File Explorer
Download Latest Version (.zip)- dotnet.yml
- publish.yml
- Placeholders.cs
- benchmark_results.md
- HandlerScalingBenchmarks.cs
- Mediator.Switch.Benchmark.csproj
- PipelineScalingBenchmarks.cs
- Program.cs
- Mediator.Switch.Benchmark.Generator.csproj
- Program.cs
- run_benchmarks.bat
- run_benchmarks.sh
- Definitions.cs
- Program.cs
- README.md
- Sample.ConsoleApp.csproj
- publish.sh
- Abstractions.cs
- Attributes.cs
- Mediator.Switch.csproj
- Unit.cs
- AnalyzerReleases.Shipped.md
- AnalyzerReleases.Unshipped.md
- Mediator.Switch.Analyzer.csproj
- PipelineConsistencyAnalyzer.cs
- RequestHandlerAttributeAnalyzer.cs
- Mediator.Switch.Extensions.Microsoft.DependencyInjection.csproj
- MicrosoftDependencyInjectionServiceProvider.cs
- ServiceCollectionExtensions.cs
- SwitchMediatorOptions.cs
- SourceGenerationException.cs
- StringExtensions.cs
- SymbolExtensions.cs
- TypeSymbolExtensions.cs
- BehaviorApplicabilityChecker.cs
- BehaviorChainBuilder.cs
- CodeGenerator.cs
- ConstraintChecker.cs
- TypeHierarchyComparer.cs
- IsExternalInit.cs
- Mediator.Switch.SourceGenerator.csproj
- SemanticAnalysis.cs
- SemanticAnalyzer.cs
- SwitchMediatorSourceGenerator.cs
- SyntaxCollector.cs
- Expected.txt
- Input.cs
- Expected.txt
- Input.cs
- Expected.txt
- Input.cs
- Expected.txt
- Input.cs
- Expected.txt
- Input.cs
- Expected.txt
- Input.cs
- Expected.txt
- Input.cs
- Expected.txt
- Input.cs
- Expected.txt
- Input.cs
- Expected.txt
- Input.cs
- Expected.txt
- Input.cs
- Expected.txt
- Input.cs
- Expected.txt
- Input.cs
- Expected.txt
- Input.cs
- Expected.txt
- Input.cs
- Expected.txt
- Input.cs
- Expected.txt
- Input.cs
- Expected.txt
- Input.cs
- Expected.txt
- Input.cs
- Expected.txt
- Input.cs
- Expected.txt
- Input.cs
- Mediator.Switch.SourceGenerator.Tests.csproj
- ReferencedProjectTest.cs
- SelfReferentialResponseConstraintPipelineBehaviorTests.cs
- SwitchMediatorBaselineUpdateTests.cs
- SwitchMediatorSourceGeneratorTests.cs
- TestDefinitions.cs
- TheoryRunnableInDebugOnlyAttribute.cs
- Definitions.cs
- Mediator.Switch.Tests.csproj
- MediatorIntegrationTests.cs
- MediatorNotificationOrderingTests.cs
- MediatorTestSetup.cs
- NotificationTracker.cs
- TestUserLoggedInAnalytics.cs
- TestUserLoggedInLogger.cs
- Usings.cs
- ExternalTypes.cs
- Mediator.Switch.Tests.Referenced.csproj
- .gitignore
- LICENSE
- logo.png
- README.md
- SwitchMediator.sln
# Installation Guide
1. Get the code
git clone https://github.com/zachsaw/SwitchMediator
Downloads the entire project code from GitHub to your computer.
cd SwitchMediator
Moves into the project folder you just downloaded.
2. .NET
Medium RecommendedPrerequisites
dotnet add package Mediator.Switch.SourceGenerator
Type this command into your terminal and run it.
dotnet add package Mediator.Switch.Extensions.Microsoft.DependencyInjection
Type this command into your terminal and run it.
After dotnet run, check the message or address shown in the terminal.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
