你的位置: 码友网首页 / 资讯源列表 / Creating an incremental generator: Creating a source generator - Part 1

关于[Creating an incremental generator: Creating a source generator - Part 1]的摘要:

In this post I describe how to create an incremental source generator. As a case study, I describe a source generator for generating an extension method for enums called ToStringFast(). This method is much faster than the built-in ToString() equivalent, and using a source generator means it's just as easy to use!

原文地址: https://andrewlock.net/creating-a-source-generator-part-1-creating-an-incremental-source-generator/

收录时间: 2021-12-13 浏览量: 353 分类: .NET

| 0 收藏 | 0