示例#1
0
 public void SendCurrentSentence(string sentence)
 {
     SentenceHistory.Add(sentence);
     SentenceHistoryWithTimestamp.Add(DateTime.Now.ToString() + " : " + sentence);
     TalkNow(sentence);
     CurrentSentence = "";
     NotifyPropertyChanged("SentenceHistoryWithTimestamp");
 }
示例#2
0
    public static void AddListen(int source, Sentence s)
    {
        SentenceHistory h = new SentenceHistory(s, source);

        sSentences.Add(h);
    }
示例#3
0
    public static void AddClue(ClueInfo c)
    {
        SentenceHistory h = new SentenceHistory(c.GetSentence(), -1);

        sSentences.Add(h);
    }