Is there a quick way to convert a Generic Dictionary from one type to another
I have this
IDictionary _commands;
I suppose I would write
Handle(_commands.ToDictionary(p => p.Key, p => (object)p.Value));
Not the most efficient thing in the world to do, but until covariance is in, that's the breaks.