public override void RunThrowing <T>(IThrowingRunnable <T> runnable) { lock (Mutex) { runnable.Run(); } }
public static IRunnable UnChecked(IThrowingRunnable <TException> throwingRunnable) { try { throwingRunnable.Run(); } catch (Exception) { // nothing } return(throwingRunnable); }
public virtual void RunThrowing <T>(IThrowingRunnable <T> runnable) where T : Exception => runnable.Run();