public IEnumerable <ContentNode> GetAll() { if (_gen < 0) { throw new ObjectDisposedException("snapshot" /*+ " (" + _thisCount + ")"*/); } return(_store.GetAll(_gen)); }
public List <Entities.Content> GetPageContent(Entities.Page page) { var store = new ContentStore(Context.FileSystem); //store.Add(new Content() { Name = "Test", PageId = page.Id, Type = "string", Data = "test" }); return(store.GetAll(page).MakeTree().ToList()); }
public List<Entities.Content> GetPageContent(Entities.Page page) { var store = new ContentStore(Context.FileSystem); //store.Add(new Content() { Name = "Test", PageId = page.Id, Type = "string", Data = "test" }); return store.GetAll(page).MakeTree().ToList(); }