Update README.md

This commit is contained in:
wangdage12
2025-11-21 14:38:50 +08:00
committed by GitHub
parent 3d352c1c12
commit c463f1809c

View File

@@ -1,4 +1,8 @@
# Snap.Hutao.SourceGeneration # Snap.Hutao.SourceGeneration
> 生成器包的备份目前还可以从nuget上获取所以暂时不需要使用该目录
> https://www.nuget.org/packages/Snap.Hutao.SourceGeneration/1.3.14
Source Code Generator for Snap.Hutao Source Code Generator for Snap.Hutao
# Development Guideline # Development Guideline
@@ -7,4 +11,4 @@ Use https://roslynquoter.azurewebsites.net/ to get SyntaxTree
1. Every `IncrementalValue(s)Provider<T>`'s step result should be an `IEquatable<T>` to make it really becomes incremental. 1. Every `IncrementalValue(s)Provider<T>`'s step result should be an `IEquatable<T>` to make it really becomes incremental.
2. So the intermediate models should be a `record (class/struct)` if possible 2. So the intermediate models should be a `record (class/struct)` if possible
3. Intermediate array/enumerable should be a `ImmutableArray<T>` if possible, the pipeline use IA internally and has special check for it. 3. Intermediate array/enumerable should be a `ImmutableArray<T>` if possible, the pipeline use IA internally and has special check for it.