public S3DownloadStrategy(McmModuleConfiguration mcmModuleConfiguration) { McmModuleConfiguration = mcmModuleConfiguration; }
private Download(IPortalApplication portalApplication, IMcmRepository mcmRepository, McmModuleConfiguration mcmModuleConfiguration, IDictionary<string, IDownloadStrategy> downloadStrategies) : this(portalApplication, mcmRepository, mcmModuleConfiguration) { _downloadStrategies = downloadStrategies; }
public static Download CreateWithDownloadStrategy(IPortalApplication portalApplication, IMcmRepository mcmRepository, McmModuleConfiguration mcmModuleConfiguration, IDictionary<string, IDownloadStrategy> downloadStrategies) { return new Download(portalApplication, mcmRepository, mcmModuleConfiguration, downloadStrategies); }
public Download(IPortalApplication portalApplication, IMcmRepository mcmRepository, McmModuleConfiguration mcmModuleConfiguration) : base(portalApplication) { McmRepository = mcmRepository; _downloadStrategies.Add("S3", new S3DownloadStrategy(mcmModuleConfiguration)); }