mirror of
https://github.com/cyanfish/naps2.git
synced 2024-08-16 18:50:45 +03:00
23 lines
538 B
C#
23 lines
538 B
C#
namespace NAPS2.Dependencies;
|
|
|
|
public class DownloadInfo
|
|
{
|
|
public DownloadInfo(string fileName, List<DownloadMirror> mirrors, double size, string sha1, DownloadFormat format)
|
|
{
|
|
FileName = fileName;
|
|
Urls = mirrors.Select(x => x.Url(fileName)).ToList();
|
|
Size = size;
|
|
Sha1 = sha1;
|
|
Format = format;
|
|
}
|
|
|
|
public string FileName { get; }
|
|
|
|
public List<string> Urls { get; }
|
|
|
|
public DownloadFormat Format { get; }
|
|
|
|
public double Size { get; }
|
|
|
|
public string Sha1 { get; }
|
|
} |