Created Image-Cache

This commit is contained in:
2023-05-25 14:23:33 +02:00
parent 0b7da2e9cb
commit 780df1cd6e
7 changed files with 42 additions and 24 deletions

View File

@ -16,7 +16,9 @@ public abstract class Connector
protected Logger? logger;
protected Connector(string downloadLocation, Logger? logger)
protected string imageCachePath;
protected Connector(string downloadLocation, string imageCachePath, Logger? logger)
{
this.downloadLocation = downloadLocation;
this.logger = logger;
@ -24,6 +26,7 @@ public abstract class Connector
{
//RequestTypes for RateLimits
}, logger);
this.imageCachePath = imageCachePath;
}
public abstract string name { get; } //Name of the Connector (e.g. Website)