Closed zachariahyoung closed 10 years ago
You can still implement the interface, the ABC is very thin..
Yep, the abstract CommandHandler is really just a convenience thing, to save you from having to remember to
return UnitType.Default;
at the end of each handler.
When we have the CommandHandler as a abstract class we can't have a single class with multiple handlers. I was hoping to have one handler class per entity .
Something like this.
CommentHandler : CommandHandler, CommandHandler
Does creating class like this make sense or should I bee create a single handler class for each command?
If not should we thinking the abstract class