Example #1
0
        public virtual bool IsDirectoryExists(Site site, string parentRelativePath, string name)
        {
            DirectoryEntry dir = new DirectoryEntry(GetRootDir(site), GetRelativePath(parentRelativePath, name));

            return(dir.Exists());
        }
Example #2
0
 public virtual bool IsDirectoryExists(Site site, string parentRelativePath, string name)
 {
     DirectoryEntry dir = new DirectoryEntry(GetRootDir(site), GetRelativePath(parentRelativePath, name));
     return dir.Exists();
 }