摘要:
context可以看作是模切关注点,通过给join point(即被织入的业务)标记自定义属性(point cut,继承自ContextAttribute),可以得到context,然后advice具体的额外代码,完成aspect的过程 阅读全文
posted @ 2016-03-30 18:19
qook
阅读(304)
评论(0)
推荐(0)
摘要:
The header just denotes what the content is encoded in. It is not necessarily possible to deduce the type of the content from the content itself, i.e. 阅读全文
posted @ 2016-03-30 17:40
qook
阅读(13270)
评论(0)
推荐(0)
摘要:
在MSDN中,Attribute被定义为“是被指定给某一声明的一则附加的声明性信息”。 我们可以通过Attribute来定义设计层面的信息以及运行时(run-time)信息,也可以利用Attribute建立自描述(self-describing)组件。通过使用Attribute,可以对元数据进行扩展 阅读全文
posted @ 2016-03-30 16:33
qook
阅读(202)
评论(0)
推荐(0)
浙公网安备 33010602011771号