public static GalleryValidation CreateByInfo(DownloadMethod method, GalleryAgent agent, GalleryInfo info, byte[] thumbnailData)
 {
     return(new GalleryValidation
     {
         Method = method,
         Agent = agent,
         IsError = false,
         Info = info,
         ThumbnailData = thumbnailData
     });
 }
 public static GalleryValidation CreateByError(DownloadMethod method, string errorMessage)
 {
     return(new GalleryValidation {
         Method = method, IsError = true, ErrorMessage = errorMessage
     });
 }