public void ParceInputAsync(string text, OpheliaInterface inter) { this.Interface = inter; var t = new Thread(() => this.FirstPass(text)); if (this.curTask != OpheliaData.TaskType.Undef) { t = new Thread(() => { this.CompleteTask(this.allTasks.Find(x => x.type == this.curTask), text); }); } t.Start(); }
public MainWindow() { InitializeComponent(); this.ophelia = new OpheliaInterface(this); }