Esempio n. 1
0
 public ScreenshotTaker(IFileOpeningService fileOpeningService, IWebDriverFactory webDriverFactory, IScreenshotFormatter screenshotFormatter, IScreenshotSaver screenshotSaver)
 {
     _fileOpeningService  = fileOpeningService;
     _webDriverFactory    = webDriverFactory;
     _screenshotFormatter = screenshotFormatter;
     _screenshotSaver     = screenshotSaver;
 }
Esempio n. 2
0
 public FilesController(
     IPackagesService packages,
     IScreenshotsService screenshots,
     IUsersService users,
     IPackageSaver packageSaver,
     IScreenshotSaver screenshotSaver,
     IAvatarSaver avatarSaver)
 {
     this.packages = packages;
     this.screenshots = screenshots;
     this.packageSaver = packageSaver;
     this.screenshotSaver = screenshotSaver;
     this.avatarSaver = avatarSaver;
 }
 public ScreenshotsService(IRepository<Screenshot> screenshots, IScreenshotSaver screenshotSaver)
 {
     this.screenshots = screenshots;
     this.screenshotSaver = screenshotSaver;
 }