mirror of
https://github.com/C9Glax/tranga.git
synced 2025-07-15 11:02:17 +02:00
Moved _downloadClient initialization from inherited Connector Classes to Connector-Main class.
This commit is contained in:
@ -5,9 +5,13 @@ namespace Tranga;
|
||||
|
||||
public abstract class Connector
|
||||
{
|
||||
public Connector(string downloadLocation)
|
||||
internal string downloadLocation { get; } //Location of local files
|
||||
protected DownloadClient downloadClient { get; }
|
||||
|
||||
protected Connector(string downloadLocation, uint downloadDelay)
|
||||
{
|
||||
this.downloadLocation = downloadLocation;
|
||||
this.downloadClient = new DownloadClient(downloadDelay);
|
||||
}
|
||||
|
||||
internal string downloadLocation { get; }
|
||||
|
Reference in New Issue
Block a user