22
33public static class CommandEx
44{
5- public static TCommand CatchException < TCommand > ( this TCommand Command , Action < Exception > Handler )
5+ public static TCommand CatchException < TCommand > ( this TCommand Command , Action < Exception > Handler )
66 where TCommand : Command
77 {
88 void Catch ( object sender , ExceptionEventHandlerArgs < Exception > e ) => Handler ( e . Argument ) ;
@@ -11,7 +11,7 @@ public static TCommand CatchException<TCommand>(this TCommand Command, Action<Ex
1111 return Command ;
1212 }
1313
14- public static TCommand CatchException < TCommand , TException > ( this TCommand Command , Action < TException > Handler )
14+ public static TCommand CatchException < TCommand , TException > ( this TCommand Command , Action < TException > Handler )
1515 where TCommand : Command
1616 where TException : Exception
1717 {
@@ -25,7 +25,7 @@ void Catch(object sender, ExceptionEventHandlerArgs<Exception> e)
2525 return Command ;
2626 }
2727
28- public static TCommand CatchException < TCommand > ( this TCommand Command , Func < Exception , bool > Handler )
28+ public static TCommand CatchException < TCommand > ( this TCommand Command , Func < Exception , bool > Handler )
2929 where TCommand : Command
3030 {
3131 void Catch ( object sender , ExceptionEventHandlerArgs < Exception > e )
@@ -38,7 +38,7 @@ void Catch(object sender, ExceptionEventHandlerArgs<Exception> e)
3838 return Command ;
3939 }
4040
41- public static TCommand CatchException < TCommand , TException > ( this TCommand Command , Func < TException , bool > Handler )
41+ public static TCommand CatchException < TCommand , TException > ( this TCommand Command , Func < TException , bool > Handler )
4242 where TCommand : Command
4343 where TException : Exception
4444 {
0 commit comments