Пример #1
0
        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);
        }
Пример #3
0
        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);
        }
Пример #4
0
        public new bool Exists(string name)
        {
            string path = Path.Combine(ProfileDirectoryPath, MediaUtility.GetHierarchicalPath(name, NeeoConstants.HierarchyLevelLimit), name, Profile);

            return(base.Exists(path));
        }
Пример #5
0
        //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;
        }
Пример #6
0
 public string GetDirectoryPath(string name)
 {
     return(Path.Combine(ProfileDirectoryPath, MediaUtility.GetHierarchicalPath(name, NeeoConstants.HierarchyLevelLimit), name, Profile));
 }
Пример #7
0
 public string GetDirectoryPath(string serverNetworkPath, string name, MediaType mediaType)
 {
     return(Path.Combine(serverNetworkPath, Shared, mediaType.ToString("G"), MediaUtility.GetHierarchicalPath(name, NeeoConstants.HierarchyLevelLimit)));
 }