摘要: SuperSocket的Command Filter功能类似于ASP.NET MVC中的Action Filter,你可以用它来截获Command的执行,在Command运行之前或之后运行Filter的代码。Command Filter必须继承自Attribute类CommandFilterAttribute:[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]public abstract class CommandFilterAttribute : Attribute{ public abstract void ... 阅读全文
posted @ 2011-05-11 21:16 江大渔 阅读(2826) 评论(3) 推荐(0) 编辑