mirror of
https://github.com/cyanfish/naps2.git
synced 2024-08-16 10:40:35 +03:00
16 lines
296 B
C#
16 lines
296 B
C#
namespace NAPS2.Dependencies;
|
|
|
|
public class DownloadMirror
|
|
{
|
|
private readonly string _urlFormat;
|
|
|
|
public DownloadMirror(string urlFormat)
|
|
{
|
|
_urlFormat = urlFormat;
|
|
}
|
|
|
|
public string Url(string subpath)
|
|
{
|
|
return string.Format(_urlFormat, subpath);
|
|
}
|
|
} |