Exemplo n.º 1
0
        public RootFileSystemFolderCollection()
        {
            FolderElement folder = new FolderElement();

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

            folder.Path = "~/upload/";
            base.BaseAdd(folder);
        }
Exemplo n.º 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;
		}
Exemplo n.º 4
0
 public RootFileSystemFolderCollection()
 {
     FolderElement folder = new FolderElement();
     folder.Path = "~/upload/";
     AddDefault(folder);
 }
 public FileSystemFolderCollection()
 {
     FolderElement folder = new FolderElement();
     folder.Path = "~/upload/";
     base.BaseAdd(folder);
 }