PropertyChanged.SourceGenerator
Tortuga.Shipwright
PropertyChanged.SourceGenerator | Tortuga.Shipwright | |
---|---|---|
2 | 2 | |
123 | 13 | |
- | - | |
4.6 | 0.0 | |
about 1 year ago | 5 months ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
PropertyChanged.SourceGenerator
-
Is it just me, or is WPF just harder to work with than WinForms?
Now the ugly part - you need to implement INotifyPropertyChanged. It can be done either manually, or automated with this or this
-
Alternative to Fody.PropertyChanged?
There are another ones: - PropertyChanged.SourceGenerator - NotifyPropertyChangedGenerator - PostSharp.NotifyPropertyChanged
Tortuga.Shipwright
-
Traits for C#
Here's a simple example: https://github.com/TortugaResearch/Shipwright/blob/main/Tortuga.Shipwright/Sample/Generated/Tortuga.Shipwright/Tortuga.Shipwright.TraitGenerator/Sample.MyContainer.cs
What are some alternatives?
PropertyChanged - Injects INotifyPropertyChanged code into properties at compile time
NTypewriter - File/code generator using Scriban text templates populated with C# code metadata from Roslyn API.
dotnet - .NET Community Toolkit is a collection of helpers and APIs that work for all .NET developers and are agnostic of any specific UI platform. The toolkit is maintained and published by Microsoft, and part of the .NET Foundation.
Tortuga Chain - A fluent ORM for .NET
NotifyPropertyChangedGenerator - Roslyn Analyzer/Generator for avoid boring boilerplate INotifyPropertyChanged implementation.
HttpClientCodeGenerator - HttpClientGenerator is a tool that uses the Roslyn code generator feature to write boilerplate HttpClient code for you.
PostSharp.NotifyPropertyChanged - auto-magic INotifyPropertyChanged done right
Enum.Source.Generator - A C# source generator to create an enumeration class from an enum type. With this package, you can work on enums very, very fast without using reflection.
SaneWpf
M31.FluentAPI - Generate fluent APIs for your C# classes with ease.