Beispiel #1
0
        public void ExportToDisk(Site site)
        {
            var allItems = this.All(site).ToList();

            foreach (var item in allItems)
            {
                fileProvider.Add(item);
            }
        }
Beispiel #2
0
        public void ExportToDisk(Site site)
        {
            var allItems     = this.All(site).ToList();
            var fileProvider = new Kooboo.CMS.Sites.Persistence.FileSystem.CustomErrorProvider();

            foreach (var item in allItems)
            {
                fileProvider.Add(item);
            }
        }