コード例 #1
0
        public static string GetImageCategoryPathAbsolut(CategoryImageType type, string photoPath)
        {
            if (string.IsNullOrWhiteSpace(photoPath))
            {
                return(GetPathAbsolut(PhotoFoldersPath[FolderType.Category]) + CategoryPhotoPrefix[type]);
            }

            return(GetPathAbsolut(PhotoFoldersPath[FolderType.Category]) + CategoryPhotoPrefix[type] + photoPath);
        }
コード例 #2
0
 public static string GetImageCategoryPath(CategoryImageType type, string photoPath, bool isForAdministration)
 {
     return(GetPath(PhotoFoldersPath[FolderType.Category], isForAdministration) + CategoryPhotoPrefix[type] + photoPath);
 }
コード例 #3
0
ファイル: FilePath.cs プロジェクト: AzarinSergey/learn
 public static string GetImageCategoryPath(CategoryImageType type, string photoPath, bool isForAdministration)
 {
     return GetPath(PhotoFoldersPath[FolderType.Category], isForAdministration) + CategoryPhotoPrefix[type] + photoPath;
 }
コード例 #4
0
ファイル: FilePath.cs プロジェクト: AzarinSergey/learn
        public static string GetImageCategoryPathAbsolut(CategoryImageType type, string photoPath)
        {
            if (string.IsNullOrWhiteSpace(photoPath))
                return GetPathAbsolut(PhotoFoldersPath[FolderType.Category]) + CategoryPhotoPrefix[type];

            return GetPathAbsolut(PhotoFoldersPath[FolderType.Category]) + CategoryPhotoPrefix[type] + photoPath;
        }