public CheckSpoolFolderCondition(ISpoolFolderAccess spoolFolderAccess, IRepairSpoolFolderAssistant repairSpoolFolderAssistant, ApplicationTranslation translation, ISpoolerProvider spoolerProvider) { _spoolFolderAccess = spoolFolderAccess; _repairSpoolFolderAssistant = repairSpoolFolderAssistant; _translation = translation; _spoolerProvider = spoolerProvider; }
public CheckSpoolFolderCondition(ISpoolFolderAccess spoolFolderAccess, IRepairSpoolFolderAssistant repairSpoolFolderAssistant, ITranslationFactory translationFactory, ISpoolerProvider spoolerProvider) { _spoolFolderAccess = spoolFolderAccess; _repairSpoolFolderAssistant = repairSpoolFolderAssistant; _translation = translationFactory.CreateTranslation <ApplicationTranslation>(); _spoolerProvider = spoolerProvider; }
public RepairPrinterAssistant(IInteractionInvoker interactionInvoker, IPrinterHelper printerHelper, IShellExecuteHelper shellExecuteHelper, IFile file, IAssemblyHelper assemblyHelper, IPDFCreatorNameProvider nameProvider, ITranslationFactory iTranslationFactory) { _interactionInvoker = interactionInvoker; _printerHelper = printerHelper; _translation = iTranslationFactory.CreateTranslation <ApplicationTranslation>();; _shellExecuteHelper = shellExecuteHelper; _file = file; _assemblyHelper = assemblyHelper; _nameProvider = nameProvider; }
private LicenseCondition BuildCheckLicenseConditions() { var translation = new ApplicationTranslation(); var versionHelper = Substitute.For <IVersionHelper>(); var settingsManager = Substitute.For <ISettingsManager>(); settingsManager.GetSettingsProvider().GpoSettings.Returns(x => _gpoSettings); return(new LicenseCondition(settingsManager, new ProgramTranslation(), _licenseChecker, _interactionInvoker, versionHelper, new ApplicationNameProvider("PDFCreator"))); }
public RepairSpoolFolderAssistant(IInteractionInvoker interactionInvoker, ApplicationTranslation translation, ISpoolerProvider spoolerProvider, IShellExecuteHelper shellExecuteHelper, IPath path, IFile file, IEnvironment environment, IAssemblyHelper assemblyHelper) { _interactionInvoker = interactionInvoker; _translation = translation; _shellExecuteHelper = shellExecuteHelper; _path = path; _file = file; _environment = environment; _assemblyHelper = assemblyHelper; _tempFolder = _path.GetFullPath(_path.Combine(spoolerProvider.SpoolFolder, "..")); }
public PrinterInstalledCondition(IRepairPrinterAssistant repairPrinterAssistant, ISettingsLoader settingsLoader, ApplicationTranslation translation) { _repairPrinterAssistant = repairPrinterAssistant; _settingsLoader = settingsLoader; _translation = translation; }
public PrinterInstalledCondition(IRepairPrinterAssistant repairPrinterAssistant, ISettingsLoader settingsLoader, ITranslationFactory translationFactory) { _repairPrinterAssistant = repairPrinterAssistant; _settingsLoader = settingsLoader; _translation = translationFactory.CreateTranslation <ApplicationTranslation>(); }