Exemplo n.º 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)));
 }
Exemplo n.º 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)}");
 }
Exemplo n.º 4
0
 public string Format(Illustration illustration)
 {
     return($"[{Texts.FormatPath(illustration.UserName)}]{illustration.Id}{Path.GetExtension(illustration.Origin.IsNullOrEmpty() ? illustration.Large : illustration.Origin)}");
 }