public PhotoDirectories GetDirectories() { if (this.dirs == null) { this.dirs = DirectoryUtilities.GetDirectories(this, base.token, base.token.MapPath(this.FullVirtualPath)); } return(this.dirs); }
/// <summary> /// Retrieves a collection of directories contained in the directory. /// </summary> /// <returns>A collection of PhotoDirectory objects.</returns> public PhotoDirectories GetDirectories() { if (dirs == null) { dirs = DirectoryUtilities.GetDirectories(this, token, token.MapPath(FullVirtualPath)); } return(dirs); }
/// <summary> /// Returns the details of the sub-directories under the root photos folder. /// </summary> /// <returns>A collection of PhotoDirectory objects.</returns> public PhotoDirectories GetDirectories() { if (dirs == null) { dirs = DirectoryUtilities.GetDirectories(null, token, token.PhotosRootFullPath); } return(dirs); }