Пример #1
0
 public SecureDownloadProvider(IDownloadService downloadService,
                               ISecureFilePayloadService secureFilePayloadService,
                               ILoggingService loggingService)
 {
     this.downloadService          = downloadService ?? throw new ArgumentNullException(nameof(downloadService));
     this.secureFilePayloadService = secureFilePayloadService
                                     ?? throw new ArgumentNullException(nameof(secureFilePayloadService));
     this.loggingService = loggingService ?? throw new ArgumentNullException(nameof(loggingService));
 }
 private IDownloadService NewSecureDownloadProvider(IDownloadService downloadService,
                                                    ISecureFilePayloadService secureFilePayloadService,
                                                    ILoggingService loggingService)
 {
     return(new SecureDownloadProvider(downloadService, secureFilePayloadService, loggingService));
 }
 public TestHarnessSecureHttpFilePayloadProvider(ISecureFilePayloadService secureFilePayloadService,
                                                 ITestHarnessSettingsService testHarnessSettingsService)
 {
     this.secureFilePayloadService   = secureFilePayloadService;
     this.testHarnessSettingsService = testHarnessSettingsService;
 }