wabbajack/Wabbajack.Downloaders.Interfaces/IUrlDownloader.cs

13 lines
337 B
C#
Raw Normal View History

2021-09-27 12:42:46 +00:00
using System;
using Wabbajack.DTOs.DownloadStates;
2021-10-23 16:51:17 +00:00
namespace Wabbajack.Downloaders.Interfaces;
/// <summary>
/// Signifies that this downloader can be parsed/unparsed from a Url
/// </summary>
public interface IUrlDownloader : IDownloader
2021-09-27 12:42:46 +00:00
{
2021-10-23 16:51:17 +00:00
public IDownloadState? Parse(Uri uri);
public Uri UnParse(IDownloadState state);
2021-09-27 12:42:46 +00:00
}