We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
不同的是生成的代码将会被加入版本管理
[dotnetCampus.Telescope.GenerateCodeHere] // 将在此生成代码 [GeneratedCode("SourceTelescope", "1.0.0")] internal AttributedTypeMetadata<TBaseClass, TAttribute>[] GetXxx() { // 此方法体的所有代码,将会在下次构建时被替换 return new AttributedTypeMetadata[] { }; }
以上的 GenerateCodeHere 特性和 AttributedTypeMetadata 返回值由 SourceYard 技术管理,返回值要求一定是 internal 类型
将会在构建时,替换掉 GetXxx 方法里面的所有代码,每次构建分析不同点,决定是否替换。另外还可以在某些特殊需求时,干掉 GenerateCodeHere 特性,换为手工写代码
The text was updated successfully, but these errors were encountered:
No branches or pull requests
不同的是生成的代码将会被加入版本管理
以上的 GenerateCodeHere 特性和 AttributedTypeMetadata 返回值由 SourceYard 技术管理,返回值要求一定是 internal 类型
将会在构建时,替换掉 GetXxx 方法里面的所有代码,每次构建分析不同点,决定是否替换。另外还可以在某些特殊需求时,干掉 GenerateCodeHere 特性,换为手工写代码
The text was updated successfully, but these errors were encountered: