Skip to content
New issue

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

开放一部分编译期 API 到运行时,这可以让接入变得更简单 #8

Open
walterlv opened this issue Jul 13, 2019 · 0 comments

Comments

@walterlv
Copy link
Member

现在要接入,必须在程序集中添加一个 [CompileTime] 类,然后在里面编写代码。对于一个程序集众多的项目来说,这样的代码重复性非常高。

如果编译期元数据是自动生成的,提供一些运行时 API 来找到这些自动生成的元数据,则可以让编译期代码写得就像反射一样简单。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant