public Test(MyDictionary dictionary, TestTimings timing, TestPriorities priority, int WordCount) { this._dictionary = dictionary; this.timing = timing; this.priority = priority; this.wordCount = WordCount; this.selectedWords = new List<Word>(); this.wrongWords = new List<Word>(); this.CurrentPart = null; }
public override void Reset(List<Word> selectedWords, List<Word> wrongWords, AddWrongWordDelegate wrongProcDelegate, ChangeTestStateDelegate changeStateDelegate, TestTimings timing) { this._selectedWords = new List<Word>(selectedWords); this.changeTestStateHandler = changeStateDelegate; this.changeTestStateHandler(TestStates.Ready); }
public override void Reset(List<Word> selectedWords, List<Word> wrongWords, AddWrongWordDelegate wrongProcDelegate, ChangeTestStateDelegate changeStateDelegate, TestTimings timing) { this._selectedWords = new List<Word>(selectedWords); this._selectedWords.AddRange(wrongWords); this._selectedWords = Test.GetShuffleWords(this._selectedWords); this._uncheckedWords = new List<Word>(this._selectedWords); this.addWrongWordHandler = wrongProcDelegate; this.timing = timing; this.changeTestStateHandler = changeStateDelegate; this.changeTestStateHandler(TestStates.Ready); }
public virtual void Reset(List<Word> selectedWords, List<Word> wrongWords, AddWrongWordDelegate wrongProcDelegate, ChangeTestStateDelegate changeStateDelegate, TestTimings timing) { this._selectedWords = new List<Word>(selectedWords); this.addWrongWordHandler = wrongProcDelegate; this.changeTestStateHandler = changeStateDelegate; this.changeTestStateHandler(TestStates.Working); }