예제 #1
0
파일: Program.cs 프로젝트: xxy1991/cozy
 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");
 }
예제 #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");
        }
예제 #3
0
 public void Save()
 {
     _controller?.SaveToFile(_cfgFile);
 }