public void Execute( PlasticThread.Operation threadOperationDelegate, PlasticThread.Operation afterOperationDelegate, PlasticThread.Operation timerTickDelegate) { mThreadOperation = new PlasticThread(threadOperationDelegate); mAfterOperationDelegate = afterOperationDelegate; mTimerTickDelegate = timerTickDelegate; mPlasticTimer.Start(); mThreadOperation.Execute(); }
public void Execute( PlasticThread.Operation threadOperationDelegate, PlasticThread.Operation afterOperationDelegate, PlasticThread.Operation timerTickDelegate) { try { threadOperationDelegate(); } catch (Exception ex) { mException = ex; } if (timerTickDelegate != null) { timerTickDelegate(); } afterOperationDelegate(); }
public void Execute( PlasticThread.Operation threadOperationDelegate, PlasticThread.Operation afterOperationDelegate) { Execute(threadOperationDelegate, afterOperationDelegate, null); }
void IThreadWaiter.Execute( PlasticThread.Operation threadOperationDelegate, PlasticThread.Operation afterOperationDelegate) { ((IThreadWaiter)(this)).Execute(threadOperationDelegate, afterOperationDelegate, null); }