ADBaseLibrary.Follows.AddDownload C# (CSharp) Method

AddDownload() public method

public AddDownload ( EpisodeWithDownloadSettings d ) : void
d EpisodeWithDownloadSettings
return void
        public void AddDownload(EpisodeWithDownloadSettings d)
        {
            if (!Downloads.Any(a => a.Id == d.Id && a.PluginName == d.PluginName && a.Quality == d.Quality && a.Format == d.Format))
            {
                Downloads.Add(d);
                Save();
            }
        }