// 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); }
// Example public AppModel() { Profile = Profile.GenerateExample(1); PhraseSet = Profile.CategorySet[0].PhraseSets[0]; }