面向方面的编程:你用 PostSharp 做什么? [英] Aspect Oriented Programming: What do you use PostSharp for?
本文介绍了面向方面的编程:你用 PostSharp 做什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请问AOP框架Postsharp的用户,您使用该框架的具体目的是什么?
另外,我知道它的使用对构建时间有很大的负面影响,但是运行时性能如何?有很大的打击吗?
谢谢,
S
解决方案
我使用编译时编织为一些已使用特定属性修饰的方法添加额外功能.
喜欢这里.>
I would like to ask users of the AOP framework Postsharp, what specifically are you using the framework for?
Also, I know it's use has a big negative impact on build times, but how about runtime performace? Is there much of a hit?
Thanks,
S
解决方案
I use the compile time weaving to add extra functionality to some methods that have been decorated with a certain attribute.
Like here.
这篇关于面向方面的编程:你用 PostSharp 做什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文