public List<FeedNode> GetFeeds() { if (_controller == null) { _controller = new FeedManageController(); Load(); } var root = _controller.Feeds; return root?.subNodes??new List<FeedNode>(); }
public void Load() { if (_controller == null) { _controller = new FeedManageController(); } if (!_controller.ReadFromFile(_cfgFile)) { _SetDefaultFeeds(); Save(); } }