softwareonastring.com
Act like a pessimist and call CanHandle from Handle (again)?
You have multiple Worker classes that can each handle a one or more types of command. Your IWorker interface offers two methods: CanHandle and Handle. Perfect. Anyone with work to be done can now f…