Exemplo n.º 1
0
        // Example
        public static PhraseSet GenerateExample(int i)
        {
            PhraseSet sheet = new PhraseSet();

            sheet.Title = "New PhraseSet " + i;
            Enumerable.Range(0, 5).ToList().ConvertAll(Phrase.GenerateExample).ForEach(x => sheet.Phrases.Add(x));
            return(sheet);
        }
Exemplo n.º 2
0
 // Example
 public AppModel()
 {
     Profile   = Profile.GenerateExample(1);
     PhraseSet = Profile.CategorySet[0].PhraseSets[0];
 }