private void LogRunnerData(IRunnerMessaging sender, LogLevel level, string message, bool prompt, int timeout)
 {
     Globals.Log(Components.Runner, level, message, prompt, timeout);
 }
 private void ExecuteAction(IRunnerMessaging sender, Action action)
 {
     App.Current.Dispatcher.Invoke(action);
 }
 private void SaveProgressToDB(IRunnerMessaging sender)
 {
     SaveRecord();
 }
Esempio n. 4
0
 private static void DispatchAction(IRunnerMessaging obj, Action action)
 {
     // No need to delegate the action to the UI thread in CLI, so just invoke it
     action.Invoke();
 }
Esempio n. 5
0
 private static void SaveProgress(IRunnerMessaging obj)
 {
     // TODO: Implement progress saving (maybe to a file)
 }
Esempio n. 6
0
 private static void WorkerStatusChanged(IRunnerMessaging obj)
 {
     // Nothing to do here since the Title is updated every 100 ms anyways
 }
Esempio n. 7
0
 public void OnRunnerSessionChanged(IRunnerMessaging obj)
 {
     SaveSession();
 }