Exemple #1
0
        public static FCgStringParagraph CreateOneWordParagraph(string word, ECgStringWordRule rule = ECgStringWordRule.MatchCase)
        {
            FCgStringParagraph paragraph = new FCgStringParagraph();
            FCgStringSentence  sentence  = new FCgStringSentence();
            FCgStringPhrase    phrase    = new FCgStringPhrase();

            phrase.AddAndToWord(0, word, rule);
            sentence.AddPhrase(phrase);
            paragraph.AddSentence(sentence);

            return(paragraph);
        }
Exemple #2
0
 public FCgProcessMonitorOutputEvent(string name, FCgStringParagraph paragraph, ECgProcessMonitorOutputEventPurpose purpose = ECgProcessMonitorOutputEventPurpose.FireOnce)
 {
     Name      = name;
     Paragraph = paragraph;
     Event     = new CompletedEvent();
 }