Open utterances-bot opened 3 years ago
Fody也可以做到 而且更方便
@Cyl18 感谢推荐!
@walterlv 😀我还看到一个https://github.com/AArnott/CodeGeneration.Roslyn 保存文件就能像设计器一样自动生成代码 也挺好
@walterlv C# 9官方还加了个code generator https://devblogs.microsoft.com/dotnet/introducing-c-source-generators/
生成代码,从 T 到 T1, T2, Tn —— 自动生成多个类型的泛型 - walterlv
生成代码,从 T 到 T1, T2, Tn —— 自动生成多个类型的泛型
https://blog.walterlv.com/post/generate-code-of-generic-types.html