private void Timer_OnTimer(object context) { lock (this) { State.OnTimer(); } }
private void Timer_OnTimer(object context) { lock (this) { try { State.OnTimer(); } catch (Exception ex) { Logger.SwallowException(ex, "Failed to execute TFTP state timer"); } } }
private void timer_OnTimer(object context) { try { lock (this) { state.OnTimer(); } } catch (Exception e) { TftpTrace.Trace("Ignoring unhandled exception: " + e, this); } }
public void OnTimer() { decoratee.OnTimer(); }