command,SuperSocket系列文档(12) Command Filter

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 _disibledevent=> 
public abstract void _disibledevent=>}
Tags:  command

延伸阅读

最新评论

发表评论