Beispiel #1
0
 private void RemoveMicroThread(long microThreadId)
 {
     Dispatcher.BeginInvoke((Action) delegate
     {
         MicroThreadViewModel foundViewModel = microThreads.FirstOrDefault(vm => vm.Id == microThreadId);
         if (foundViewModel != null)
         {
             microThreads.Remove(foundViewModel);
         }
     }, null);
 }
Beispiel #2
0
        private void OnRunScriptCommand()
        {
            MicroThread mt = AssemblyParent.Parent.EngineContext.ScriptManager.RunScript(scriptEntry, null);

            MicroThread = new MicroThreadViewModel(mt);
        }