Ejemplo n.º 1
0
        public virtual DirectoryResource RenameDirectory(Site site, string relativePath, string newName)
        {
            //DirectoryEntry @new = new DirectoryEntry(GetRootDir(site), new_RelativeVirtualPath);
            DirectoryEntry dir = new DirectoryEntry(GetRootDir(site), relativePath);

            dir.Rename(newName);
            return(dir);
        }
Ejemplo n.º 2
0
        public virtual void RenameDirectory(Site site, string relativePath, string newName)
        {
            //DirectoryEntry @new = new DirectoryEntry(GetRootDir(site), new_RelativeVirtualPath);
            DirectoryEntry dir = new DirectoryEntry(GetRootDir(site), relativePath);

            dir.Rename(newName);
            FlushWebResourceCache(site, dir);
        }
Ejemplo n.º 3
0
 public virtual DirectoryResource RenameDirectory(Site site, string relativePath, string newName)
 {
     //DirectoryEntry @new = new DirectoryEntry(GetRootDir(site), new_RelativeVirtualPath);
     DirectoryEntry dir = new DirectoryEntry(GetRootDir(site), relativePath);
     dir.Rename(newName);
     return dir;
 }
Ejemplo n.º 4
0
 public virtual void RenameDirectory(Site site, string relativePath, string newName)
 {
     //DirectoryEntry @new = new DirectoryEntry(GetRootDir(site), new_RelativeVirtualPath);
     DirectoryEntry dir = new DirectoryEntry(GetRootDir(site), relativePath);
     dir.Rename(newName);
     FlushWebResourceCache(site, dir);
 }