Пример #1
0
 public static string Photo(long UserID, DateTime dt, string ext, ThumbType t)
 {
     return(Photo(UserID, dt, ext, t.ToString()));
 }
Пример #2
0
        public string ThumbPhoto(string path, ThumbType thumbType)
        {
            int x = path.LastIndexOf(".");

            return(x > 0 ? path.Insert(x - 1, thumbType.ToString()).ToLower() : "");
        }