随笔分类 -  AOP

AOP是面向切面编程(Aspect Oriented Programming),AOP包括编程模型和具体用于实现AOP的框架两部分,是一种将函数的辅助性功能与业务逻辑相分离的编程泛型(programming paradigm)
摘要:1.首先添加PostSharp引用 2.添加特性(Attribute)类 [Serializable] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = true)] public class Use 阅读全文
posted @ 2017-05-25 09:55 object996 阅读(183) 评论(0) 推荐(0)