POCO 的静态 INotifyPropertyChanged 生成器
找到此运行时 INotifyPropertyChanged 生成器
http://www.codeproject.com/Articles/ 141732/Automatic-Implementation-of-INotifyPropertyChanged
想知道是否有静态生成器来避免运行时性能 打 ?
found this runtime INotifyPropertyChanged generator
http://www.codeproject.com/Articles/141732/Automatic-Implementation-of-INotifyPropertyChanged
wondering if there is a static generator to avoid the run time performance hit ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
通知属性放弃
Notify Property Waever
PostSharp 的 INotifyPropertyChanged 方面 使用 MSIL 重写在编译时注入样板文件。
Metalama 是一个 Roslyn 扩展,还允许生成 INotifyPropertyChanged 样板文件。它通过 AST 修改来完成,您可以调试转换后的代码。
PostSharp's INotifyPropertyChanged aspect injects the boilerplate at compile time using MSIL rewriting.
Metalama is a Roslyn extension that also allows to generate the INotifyPropertyChanged boilerplate. It does it by AST modification and you can debug the transformed code.