public AutomationUploader(IYoutubeUploader uploader, IYoutubeJobContainer archiveContainer, IPlaylistServiceConnectionContainer pscContainer) { LOGGER.Debug($"Creating new instance of AutomationUploader"); Uploader = uploader; archive = archiveContainer; PscContainer = pscContainer; }
public AutomationUploader(IYoutubeUploader uploader, IYoutubeJobContainer archiveContainer, IPlaylistServiceConnectionContainer pscContainer, IYoutubeAccount account, IEnumerable <IObservationConfiguration> configurationsToAdd) : this(uploader, archiveContainer, pscContainer) { LOGGER.Debug($"Creating new instance of AutomationUploader with account with title {account?.Title ?? null}"); Account = account; foreach (var config in configurationsToAdd) { LOGGER.Debug($"Adding configuration for template '{config.Template.Name}' and path '{config.PathInfo.Fullname}'"); Configuration.Add(config); } }