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