Papst.EventStore.CodeGeneration
7.1.4
See the version list below for details.
dotnet add package Papst.EventStore.CodeGeneration --version 7.1.4
NuGet\Install-Package Papst.EventStore.CodeGeneration -Version 7.1.4
<PackageReference Include="Papst.EventStore.CodeGeneration" Version="7.1.4" />
<PackageVersion Include="Papst.EventStore.CodeGeneration" Version="7.1.4" />
<PackageReference Include="Papst.EventStore.CodeGeneration" />
paket add Papst.EventStore.CodeGeneration --version 7.1.4
#r "nuget: Papst.EventStore.CodeGeneration, 7.1.4"
#:package Papst.EventStore.CodeGeneration@7.1.4
#addin nuget:?package=Papst.EventStore.CodeGeneration&version=7.1.4
#tool nuget:?package=Papst.EventStore.CodeGeneration&version=7.1.4
Papst.EventStore.CodeGeneration
Roslyn source generator for Papst.EventStore.
The generator inspects your compilation at build time and emits the dependency injection registration for your events and aggregators, so you never hand-maintain a registry of event names or handler types.
Installation
dotnet add package Papst.EventStore.CodeGeneration
This package ships as an analyzer. It contributes no runtime dependencies to your application.
What it generates
Decorate your events and aggregators:
[EventName("OrderPlaced")]
public record OrderPlaced(Guid OrderId, decimal Total);
The generator emits AddCodeGeneratedEvents() — an IServiceCollection extension that registers every
discovered event name to its CLR type, registers the discovered IEventAggregator<,> implementations,
and wires up an IEventTypeProvider if none is registered yet:
services.AddCodeGeneratedEvents();
It also emits AddCodeGeneratedEventCatalog(), registering an IEventCatalog describing the known events.
Multiple [EventName] attributes on one type are supported for event versioning; mark legacy names with
IsWriteName = false to keep them readable without writing them.
See the project README for the full documentation.
License
MIT
Learn more about Target Frameworks and .NET Standard.
This package has 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.
| Version | Downloads | Last Updated |
|---|---|---|
| 7.2.7 | 52 | 11/24/2026 |
| 7.2.5 | 54 | 11/24/2026 |
| 7.1.4 | 56 | 11/24/2026 |
| 7.1.2 | 57 | 11/24/2026 |
| 7.0.14 | 65 | 11/23/2026 |
| 7.0.12 | 304 | 9/19/2026 |
| 7.0.4 | 150 | 8/18/2026 |
| 7.0.3 | 130 | 8/18/2026 |
| 6.4.5 | 155 | 8/10/2026 |
| 6.4.3 | 126 | 8/10/2026 |
| 6.3.3 | 160 | 8/2/2026 |
| 6.3.2 | 133 | 8/2/2026 |
| 6.2.2 | 144 | 7/19/2026 |
| 6.1.5 | 132 | 7/19/2026 |
| 6.1.2 | 782 | 5/16/2026 |
| 6.0.17 | 154 | 5/16/2026 |
| 6.0.14 | 161 | 5/6/2026 |
| 6.0.11 | 131 | 5/2/2026 |
| 6.0.9 | 160 | 4/12/2026 |
| 6.0.4 | 137 | 4/11/2026 |