Exemplo n.º 1
0
 public IEnumerable <ContentNode> GetAll()
 {
     if (_gen < 0)
     {
         throw new ObjectDisposedException("snapshot" /*+ " (" + _thisCount + ")"*/);
     }
     return(_store.GetAll(_gen));
 }
Exemplo n.º 2
0
        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());
        }
Exemplo n.º 3
0
        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();
        }