public new void DeleteDirectory(string name) { string path = Path.Combine(ProfileDirectoryPath, MediaUtility.GetHierarchicalPath(name, NeeoConstants.HierarchyLevelLimit), name, Profile); if (base.Exists(path)) { base.DeleteDirectory(path); } }
public new string CreateDirectory(string name) { string path = Path.Combine(GroupDirectoryPath, MediaUtility.GetHierarchicalPath(name, NeeoConstants.HierarchyLevelLimit)); if (!base.Exists(path)) { base.CreateDirectory(path); } return(path); }
public bool Exists(string name, out string path) { string dirPath = Path.Combine(ProfileDirectoryPath, MediaUtility.GetHierarchicalPath(name, NeeoConstants.HierarchyLevelLimit), name, Profile); if (base.Exists(dirPath)) { path = dirPath; return(true); } path = ""; return(false); }
public new bool Exists(string name) { string path = Path.Combine(ProfileDirectoryPath, MediaUtility.GetHierarchicalPath(name, NeeoConstants.HierarchyLevelLimit), name, Profile); return(base.Exists(path)); }
//public string GetDirectoryPath(string name) //{ // return Path.Combine(ProfileDirectoryPath, MediaUtility.GetHierarchicalPath(name, NeeoConstants.HierarchyLevelLimit), name, Profile); //} public string GetDirectoryPath(string name) { return(Path.Combine(ProfileDirectoryPath, MediaUtility.GetHierarchicalPath(name, NeeoConstants.HierarchyLevelLimit), name, Profile)); //string path = ConfigurationManager.AppSettings["profileImageSavePath"]; //return path; }
public string GetDirectoryPath(string name) { return(Path.Combine(ProfileDirectoryPath, MediaUtility.GetHierarchicalPath(name, NeeoConstants.HierarchyLevelLimit), name, Profile)); }
public string GetDirectoryPath(string serverNetworkPath, string name, MediaType mediaType) { return(Path.Combine(serverNetworkPath, Shared, mediaType.ToString("G"), MediaUtility.GetHierarchicalPath(name, NeeoConstants.HierarchyLevelLimit))); }