Why use DelegateAdjuster?
payman81 opened this issue · 1 comments
payman81 commented
Hi
Why do you need to use DelegateAdjuster below
https://github.com/gregoryyoung/m-r/blob/master/SimpleCQRS/FakeBus.cs#L21
Why not use below to explicitly cast the parameter?
handlers.Add((x => handler((T)x)));
Thanks
Payman
gregoryyoung commented
You can (and I do in a later version of code)
On Tue, Apr 7, 2015 at 7:54 PM, payman81 notifications@github.com wrote:
Hi
Why do you need to use DelegateAdjuster below
https://github.com/gregoryyoung/m-r/blob/master/SimpleCQRS/FakeBus.cs#L21Why not use below to explicitly cast the parameter?
handlers.Add((x => handler((T)x)));Thanks
Payman
—
Reply to this email directly or view it on GitHub
#8.
Studying for the Turing test