Exemplo n.º 1
0
 static void Main(string[] args)
 {
     FeedManageController c = new FeedManageController();
     c.AddCategory("c1");
     c.AddCategory("c2");
     c.AddFeed("f1", "hehe");
     c.SaveToFile("c:\\cozy_test.json");
 }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            FeedManageController c = new FeedManageController();

            c.AddCategory("c1");
            c.AddCategory("c2");
            c.AddFeed("f1", "hehe");
            c.SaveToFile("c:\\cozy_test.json");
        }
Exemplo n.º 3
0
 public void Save()
 {
     _controller?.SaveToFile(_cfgFile);
 }