Esempio n. 1
0
 private void Enlist <T>(string label, Func <T> constructor)
     where T : ComparisonsListBase
 {
     _enlisteds.Add(_enlisteds.Count, constructor);
     ListNames.Add(label);
     App.Current.SetTemplate <T, JsComparerTable>();
 }
Esempio n. 2
0
        public void AddList(string listName, List <string> words)
        {
            ObservableVarList <string> wordList = new ObservableVarList <string>($"Words.Lists.{listName}");

            wordList.AddRange(words);
            ListNames.Add(listName);
            WordsLists.Add(listName, wordList);
        }