Example #1
0
        public RootFileSystemFolderCollection()
        {
            FolderElement folder = new FolderElement();

            folder.Path = "~/upload/";
            AddDefault(folder);
        }
Example #2
0
        public FileSystemFolderCollection()
        {
            FolderElement folder = new FolderElement();

            folder.Path = "~/upload/";
            base.BaseAdd(folder);
        }
Example #3
0
		public FileSystemRoot(FolderElement folder, Site site)
		{
			Path = FixPath(folder.Path);
			if (!string.IsNullOrEmpty(folder.Title))
				Title = folder.Title;
			Readers = folder.Readers.ToPermissionMap(Permission.Read, new[] { "Administrators", "Editors", "Writers" }, new[] { "admin" });
			Writers = folder.Writers.ToPermissionMap(Permission.Write, new[] { "Administrators", "Editors" }, new[] { "admin" });
			Site = site;
		}
 public RootFileSystemFolderCollection()
 {
     FolderElement folder = new FolderElement();
     folder.Path = "~/upload/";
     AddDefault(folder);
 }
 public FileSystemFolderCollection()
 {
     FolderElement folder = new FolderElement();
     folder.Path = "~/upload/";
     base.BaseAdd(folder);
 }