你的位置: 码友网首页 / 资讯源列表 / How to generate code using Roslyn source generators in real world scenarios

关于[How to generate code using Roslyn source generators in real world scenarios]的摘要:

Roslyn (as of 16.8 Preview 3) now brings first-class support for source code generators that run as part of a project compilation. The provided cookbook is a fantastic resource to get to know the capabilities and some specific scenarios this feature was created for. The carefully chosen set of features, driven by concrete scenarios, make for a powerful and flexible toolset to supercharge your nuget packages with. In this blog post I’ll outline how I’m using it, in light of my first real-world use case: ThisAssembly.

原文地址: https://www.cazzulino.com/source-generators.html

收录时间: 2020-09-24 浏览量: 1170 分类: .NET

| 0 收藏 | 0