Documentation available at amis92.github.io/RecordGenerator (or in docs folder).
C# Record Generator makes creating record classes a breeze! Just adorn your data class with [Record]
attribute
and keep your code clean and simple. The backing code is generated on build-time, including IntelliSense support
(just save the file, Visual Studio will make a build in background).
To build the solution, .NET Core SDK v2.1.500 is required, as specified in global.json
.
It must be built on Windows with MSBuild toolset (min. v15.0), since it targets Windows frameworks in Attributes package.
Amadevus.RecordGenerator
wouldn't work if not for @AArnott AArnott's CodeGeneration.Roslyn.
Analyzers in Amadevus.RecordGenerator.Analyzers
were inspired by xUnit.net's analyzers.
All contributions are welcome, as well as critique. If you have any issues, problems or suggestions - please open an issue.
Visual Studio logo ™ Microsoft Corporation, used without permission.
RecordGenerator logo (on top) © 2017 Amadeusz Sadowski, all rights reserved.