コード例 #1
0
ファイル: OpheliaCore.cs プロジェクト: NoxCaos/hotelbooking
        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();
        }
コード例 #2
0
 public MainWindow()
 {
     InitializeComponent();
     this.ophelia = new OpheliaInterface(this);
 }