MediatorMapperGenerator 1.1.4

dotnet add package MediatorMapperGenerator --version 1.1.4
                    
NuGet\Install-Package MediatorMapperGenerator -Version 1.1.4
                    
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="MediatorMapperGenerator" Version="1.1.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MediatorMapperGenerator" Version="1.1.4" />
                    
Directory.Packages.props
<PackageReference Include="MediatorMapperGenerator" />
                    
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 MediatorMapperGenerator --version 1.1.4
                    
#r "nuget: MediatorMapperGenerator, 1.1.4"
                    
#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 MediatorMapperGenerator@1.1.4
                    
#: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=MediatorMapperGenerator&version=1.1.4
                    
Install as a Cake Addin
#tool nuget:?package=MediatorMapperGenerator&version=1.1.4
                    
Install as a Cake Tool

MediatorMapperGenerator

MediatorMapperGenerator is a Roslyn source generator used with the MediatorMapper NuGet package. It generates the mapping and mediator registration code needed by MediatorMapper at compile time.

Usage

Reference both MediatorMapper and MediatorMapperGenerator from any project that contains one or more of the following:

  • MappingProfile implementations for object mapping
  • RequestHandler implementations for mediator requests

The generator discovers these types during compilation and generates the corresponding registrations. The generated code is included in the consuming project automatically; no runtime reflection-based registration is required.

For details about defining mappings and mediator requests, see the MediatorMapper repository.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

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
1.1.4 43 11/11/2026