Example #1
0
 public PhotoProcessor(IArchiveParser archiveParser,
                 IPackageReader packageReader,
                 IIdentifierProvider identifierProvider,
                 IPhotoResizer photoResizer,
                 IPhotoStorage photoStorage)
 {
     this.archiveParser = archiveParser;
     this.packageReader = packageReader;
     this.identifierProvider = identifierProvider;
     this.photoResizer = photoResizer;
     this.photoStorage = photoStorage;
 }
Example #2
0
 public WorkerService(
     IHostApplicationLifetime applicationLifetime,
     ILogger <WorkerService> logger,
     IArchiveParser archiveParser,
     IUploaderService uploaderService,
     IUserProfileService userProfileService,
     IAuthenticationService authenticationService)
 {
     _applicationLifetime = applicationLifetime;
     _logger                = logger;
     _archiveParser         = archiveParser;
     _uploaderService       = uploaderService;
     _userProfileService    = userProfileService;
     _authenticationService = authenticationService;
 }