/// <summary> /// /// </summary> public void RunWaitLoop() { Runtime.Start(); while (!Runtime.IsCancel) { try { Runtime.Update(); } catch (Exception e) { Aggr.Error("App runtime Update method error", e); } Thread.Sleep(Runtime.Frequency); } }
/// <summary> /// /// </summary> public void RunWaitLoop() { Runtime.Start(); while (!Runtime.IsCancel) { try { Runtime.Update(); } catch (Exception e) { Aggr.Error("App runtime Update method error", e); } Thread.Sleep(Runtime.Frequency); } }