Beispiel #1
0
 public string FormatGif(Illustration illustration)
 {
     return($"[{Texts.FormatPath(illustration.UserName)}]{illustration.Id}.gif");
 }
 public string GetSpotlightPath(string title)
 {
     return(Path.Combine(Settings.Global.DownloadLocation, "Spotlight", Texts.FormatPath(title)));
 }
Beispiel #3
0
 public string FormatManga(Illustration illustration, int idx)
 {
     return($"[{Texts.FormatPath(illustration.UserName)}]{illustration.Id}_p{idx}{Texts.GetExtension(illustration.Origin.IsNullOrEmpty() ? illustration.Large : illustration.Origin)}");
 }
Beispiel #4
0
 public string Format(Illustration illustration)
 {
     return($"[{Texts.FormatPath(illustration.UserName)}]{illustration.Id}{Path.GetExtension(illustration.Origin.IsNullOrEmpty() ? illustration.Large : illustration.Origin)}");
 }