Beispiel #1
0
 // 2) user/profilepic/1.jpg
 public static string BlobFullName(this UserImageType userFileType, string fileName)
 {
     return(ProfilePicBlobDirectory + userFileType.GetAttribute <FileTypeAttribute>().FolderName.ToLower() + "/" + fileName);
 }
Beispiel #2
0
 // 1) https://itedata.blob.core.windows.net/ced/user/profilepic/
 private static string BlobSubDirectory(this UserImageType userImageType)
 {
     return(ProfilePicBlobDirectory + userImageType.GetAttribute <ImageAttribute>().Key.ToLower() + "/");
 }