Custom CommandFilterAttribute on SubCommandBase<ChatSession>

Jan 28, 2014 at 5:12 PM
Hallo,
I'm currently evaluating this this project and it is great. Unfortunately I'm struggling with a little problem, similar to this: CommandFilter on Jason.

I want to make CommandFilterAttribute that aborts a call to a command as described here.
So I made my custom filter that sets the commandContext.Cancel to true.
Unfortunately the OnCommandExecuting() is never invoked, when I use this custom Attribute on my class Broadcast : SubCommandBase<ChatSession>.

When I uses it on my ChatServer : WebSocketServer<ChatSession> instead, the method is invoked as expected and I'm able to cancel the call.

Do I miss something?
Jan 28, 2014 at 9:39 PM
Hello, please try SubCommandFilter instead”?

Sent from Windows Mail

Jan 31, 2014 at 11:09 AM
Thanks, that worked.