Esempio n. 1
0
 private static bool IfMatchSysCause <T>(SystemMessage message, Action <Exception> handler) where T : ExceptionSystemMessage
 {
     return(PatternMatcher.Match <T>(message, m => handler(m.CausedByFailure)));
 }
Esempio n. 2
0
 private static bool IfMatchSys <T>(SystemMessage message, Action <T> handler) where T : class, SystemMessage
 {
     return(PatternMatcher.Match(message, handler));
 }