Example #1
0
        internal void Add(Serialisable before, Xformation action)
        {
            string file = before.FileName;

            plan[file]  = action;
            input[file] = before;
            Files.Add(file);
        }
Example #2
0
        internal static void RegisterAction(string title, Serialisable input, Xformation action)
        {
            Recommender rec = recs.FirstOrDefault(r => r.Name == title);

            if (rec == null)
            {
                rec = new Recommender(title);
                recs.Add(rec);
                _recList.Items.Add(rec.Name);
            }
            rec.Add(input, action);
        }