EventGenerator.Generator
0.2.2
See the version list below for details.
dotnet add package EventGenerator.Generator --version 0.2.2
NuGet\Install-Package EventGenerator.Generator -Version 0.2.2
<PackageReference Include="EventGenerator.Generator" Version="0.2.2"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add EventGenerator.Generator --version 0.2.2
#r "nuget: EventGenerator.Generator, 0.2.2"
// Install EventGenerator.Generator as a Cake Addin #addin nuget:?package=EventGenerator.Generator&version=0.2.2 // Install EventGenerator.Generator as a Cake Tool #tool nuget:?package=EventGenerator.Generator&version=0.2.2
EventGenerator
Generated events and OnEvent() methods.
Install
Install-Package EventGenerator.Generator // Generator
Install-Package EventGenerator.Core // Attributes
Usage
using EventGenerator;
#nullable enable
namespace H.Generators.IntegrationTests;
[Event<MyArgs>("Changed")]
public partial class MyClass
{
}
will generate:
XML documentation
If for some reason you need to save xml documentation for your properties, there is an option to specify xml text for both DependencyProperty and getter/setter via XmlDocumentation/PropertyXmlDocumentation attribute properties.
Notes
To use generic attributes, you need to set up LangVersion
in your .csproj:
<LangVersion>preview</LangVersion>
There are also non-Generic attributes here.
Support
Priority place for bugs: https://github.com/HavenDV/EventGenerator/issues
Priority place for ideas and general questions: https://github.com/HavenDV/EventGenerator/discussions
I also have a Discord support channel:
https://discord.gg/g8u2t9dKgE
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on EventGenerator.Generator:
Repository | Stars |
---|---|
HavenDV/H.NotifyIcon
TrayIcon for WPF/WinUI/Uno/MAUI
|
|
HavenDV/H.Pipes
A simple, easy to use, strongly-typed, async wrapper around .NET named pipes.
|
Version | Downloads | Last updated |
---|---|---|
0.13.0 | 2,136 | 3/30/2023 |
0.12.0 | 183 | 3/30/2023 |
0.11.0 | 616 | 3/9/2023 |
0.10.0 | 511 | 1/19/2023 |
0.9.0 | 439 | 1/4/2023 |
0.8.2 | 286 | 1/4/2023 |
0.8.1 | 264 | 1/4/2023 |
0.8.0 | 290 | 1/4/2023 |
0.6.0 | 290 | 11/22/2022 |
0.4.2 | 540 | 10/9/2022 |
0.4.1 | 443 | 7/25/2022 |
0.4.0 | 369 | 7/25/2022 |
0.3.3 | 369 | 7/25/2022 |
0.3.2 | 382 | 7/24/2022 |
0.3.1 | 408 | 7/24/2022 |
0.2.5 | 445 | 7/19/2022 |
0.2.4 | 423 | 7/19/2022 |
0.2.3 | 408 | 7/19/2022 |
0.2.2 | 452 | 7/19/2022 |
⭐ Last 10 features:
Initial release.
🐞 Last 10 bug fixes:
Fixed .props.
Fixed package name.