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(); }
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(); }
private static void SaveProgress(IRunnerMessaging obj) { // TODO: Implement progress saving (maybe to a file) }
private static void WorkerStatusChanged(IRunnerMessaging obj) { // Nothing to do here since the Title is updated every 100 ms anyways }
public void OnRunnerSessionChanged(IRunnerMessaging obj) { SaveSession(); }