CanHandle – Handle pattern conundrum
When you have multiple classes implementing an IWorker interface with a CanHandle and Handle method, such as
you find yourself in a conundrum: should you call CanHandle again from Handle?
If you don’t, someone could pass in work that a worker isn’t designed to handle and that can lead to a multitude of different exceptions or subtle,
…