public void SendCurrentSentence(string sentence) { SentenceHistory.Add(sentence); SentenceHistoryWithTimestamp.Add(DateTime.Now.ToString() + " : " + sentence); TalkNow(sentence); CurrentSentence = ""; NotifyPropertyChanged("SentenceHistoryWithTimestamp"); }
public static void AddListen(int source, Sentence s) { SentenceHistory h = new SentenceHistory(s, source); sSentences.Add(h); }
public static void AddClue(ClueInfo c) { SentenceHistory h = new SentenceHistory(c.GetSentence(), -1); sSentences.Add(h); }