public TestPageHelper(ISpoolerProvider spoolerProvider, IJobInfoQueue jobInfoQueue, IJobInfoManager jobInfoManager, TestPageCreator testPageCreator) { _jobInfoQueue = jobInfoQueue; _jobInfoManager = jobInfoManager; _testPageCreator = testPageCreator; _spoolFolder = spoolerProvider.SpoolFolder; }
public CheckSpoolFolderCondition(ISpoolFolderAccess spoolFolderAccess, IRepairSpoolFolderAssistant repairSpoolFolderAssistant, ITranslationFactory translationFactory, ISpoolerProvider spoolerProvider) { _spoolFolderAccess = spoolFolderAccess; _repairSpoolFolderAssistant = repairSpoolFolderAssistant; _translation = translationFactory.CreateTranslation <ApplicationTranslation>(); _spoolerProvider = spoolerProvider; }
public CheckSpoolFolderCondition(ISpoolFolderAccess spoolFolderAccess, IRepairSpoolFolderAssistant repairSpoolFolderAssistant, ApplicationTranslation translation, ISpoolerProvider spoolerProvider) { _spoolFolderAccess = spoolFolderAccess; _repairSpoolFolderAssistant = repairSpoolFolderAssistant; _translation = translation; _spoolerProvider = spoolerProvider; }
public CheckSpoolFolderCondition(ISpoolFolderAccess spoolFolderAccess, IRepairSpoolFolderAssistant repairSpoolFolderAssistant, ITranslator translator, ISpoolerProvider spoolerProvider) { _spoolFolderAccess = spoolFolderAccess; _repairSpoolFolderAssistant = repairSpoolFolderAssistant; _translator = translator; _spoolerProvider = spoolerProvider; }
protected NewDirectConversionJobStart(IJobInfoQueue jobInfoQueue, IMaybePipedApplicationStarter maybePipedApplicationStarter, ISpoolerProvider spoolerProvider, IJobInfoManager jobInfoManager) : base(maybePipedApplicationStarter) { _jobInfoQueue = jobInfoQueue; _spoolerProvider = spoolerProvider; _jobInfoManager = jobInfoManager; }
public NewPrintJobStart(ISettingsProvider settingsProvider, IJobInfoQueue jobInfoQueue, ISpoolerProvider spoolerProvider, IMaybePipedApplicationStarter maybePipedApplicationStarter, IJobInfoManager jobInfoManager) : base(maybePipedApplicationStarter) { _settingsProvider = settingsProvider; _jobInfoQueue = jobInfoQueue; _spoolerProvider = spoolerProvider; _jobInfoManager = jobInfoManager; }
public DirectConversionHelper(IDirectConversionProvider provider, IJobInfoQueue jobInfoQueue, ISettingsProvider settingsProvider, ISpoolerProvider spoolerProvider, IJobInfoManager jobInfoManager) { _provider = provider; _jobInfoQueue = jobInfoQueue; _settingsProvider = settingsProvider; _spoolerProvider = spoolerProvider; _jobInfoManager = jobInfoManager; }
public TestPageHelper(IAssemblyHelper assemblyHelper, IOsHelper osHelper, ISpoolerProvider spoolerProvider, IJobInfoQueue jobInfoQueue, IJobInfoManager jobInfoManager) { _assemblyHelper = assemblyHelper; _osHelper = osHelper; _jobInfoQueue = jobInfoQueue; _jobInfoManager = jobInfoManager; _spoolFolder = spoolerProvider.SpoolFolder; }
public TestPageHelper(IVersionHelper versionHelper, IOsHelper osHelper, ISpoolerProvider spoolerProvider, IJobInfoQueue jobInfoQueue, IJobInfoManager jobInfoManager, ApplicationNameProvider applicationNameProvider) { _versionHelper = versionHelper; _osHelper = osHelper; _jobInfoQueue = jobInfoQueue; _jobInfoManager = jobInfoManager; _applicationNameProvider = applicationNameProvider; _spoolFolder = spoolerProvider.SpoolFolder; }
public PdfCreatorAdapter(IFile file, IPathSafe pathSafe, PrintFileHelperComFactory printFileHelperComFactory, IJobInfoQueue jobInfoQueue, ISpoolerProvider spoolerProvider, ISpoolFolderAccess spoolFolderAccess, IJobInfoManager jobInfoManager, IDirectConversionProvider directConversionProvider, IPrinterHelper printerHelper, IPipeServerManager pipeServerManager) { PrinterHelper = printerHelper; _file = file; _pathSafe = pathSafe; _printFileHelperComFactory = printFileHelperComFactory; _jobInfoQueue = jobInfoQueue; _spoolerProvider = spoolerProvider; _spoolFolderAccess = spoolFolderAccess; _jobInfoManager = jobInfoManager; _directConversionProvider = directConversionProvider; _pipeServerManager = pipeServerManager; }
public RepairSpoolFolderAssistant(IInteractionInvoker interactionInvoker, ITranslator translator, ISpoolerProvider spoolerProvider, IShellExecuteHelper shellExecuteHelper, IPath path, IFile file, IEnvironment environment, IAssemblyHelper assemblyHelper) { _interactionInvoker = interactionInvoker; _translator = translator; _shellExecuteHelper = shellExecuteHelper; _path = path; _file = file; _environment = environment; _assemblyHelper = assemblyHelper; _tempFolder = _path.GetFullPath(_path.Combine(spoolerProvider.SpoolFolder, "..")); }
public void Setup() { Fixture = new Fixture().Customize(new AutoNSubstituteCustomization()); Fixture.Inject <IPathSafe>(new PathWrapSafe()); FileMock = Fixture.Freeze <IFile>(); _directoryMock = Fixture.Freeze <IDirectory>(); _spoolerProvider = Fixture.Freeze <ISpoolerProvider>(); _jobInfoManagerMock = Fixture.Freeze <IJobInfoManager>(); var settingsProviderMock = Fixture.Freeze <ISettingsProvider>(); settingsProviderMock.Settings.Returns(new PdfCreatorSettings(null)); _spoolerProvider.SpoolFolder.Returns(Fixture.CreateFolderPath("SpoolFolder")); Fixture.Register(BuildDirectConversion); }
public RepairSpoolFolderAssistant(IInteractionInvoker interactionInvoker, ITranslationUpdater translationUpdater, ISpoolerProvider spoolerProvider, IShellExecuteHelper shellExecuteHelper, IPath path, IFile file, IEnvironment environment, IAssemblyHelper assemblyHelper) { _interactionInvoker = interactionInvoker; translationUpdater.RegisterAndSetTranslation(tf => _translation = tf.UpdateOrCreateTranslation(_translation)); _shellExecuteHelper = shellExecuteHelper; _path = path; _file = file; _environment = environment; _assemblyHelper = assemblyHelper; _tempFolder = _path.GetFullPath(_path.Combine(spoolerProvider.SpoolFolder, "..")); }
public DirectConversionInfFileHelper( IDirectConversionHelper directConversionHelper, IJobInfoManager jobInfoManager, ISpoolerProvider spoolerProvider, IFile file, IDirectory directory, IPath path ) { _directConversionHelper = directConversionHelper; _jobInfoManager = jobInfoManager; _spoolerProvider = spoolerProvider; _file = file; _directory = directory; _path = path; }
public SpoolFolderAccess(ISpoolerProvider spoolerProvider, IDirectory directory) { _spoolerProvider = spoolerProvider; _directory = directory; }
public PsDirectConversion(ISettingsProvider settingsProvider, IJobInfoManager jobInfoManager, ISpoolerProvider spoolerProvider, IFile file, IDirectory directory, IPathSafe path) : base(settingsProvider, jobInfoManager, spoolerProvider) { File = file; Directory = directory; Path = path; }
public PdfCreatorCleanUp(ITempFolderProvider tempFolderProvider, ISpoolerProvider spoolFolderProvider) { _tempFolderProvider = tempFolderProvider; _spoolFolderProvider = spoolFolderProvider; _timeSpan = TimeSpan.FromDays(1); }
public SpooledJobFinder(ISpoolerProvider spoolerProvider, IDirectory directory, IJobInfoManager jobInfoManager) { _spoolerProvider = spoolerProvider; _directory = directory; _jobInfoManager = jobInfoManager; }
public PdfDirectConversion(IPdfProcessor pdfProcessor, ISettingsProvider settingsProvider, IJobInfoManager jobInfoManager, ISpoolerProvider spoolerProvider, IFile file, IDirectory directory, IPathSafe path) : base(settingsProvider, jobInfoManager, spoolerProvider) { _pdfProcessor = pdfProcessor; File = file; Directory = directory; Path = path; }
public void Setup() { _spoolFolderAccess = Substitute.For <ISpoolFolderAccess>(); _repairSpoolFolderAssistant = Substitute.For <IRepairSpoolFolderAssistant>(); _spoolerProvider = Substitute.For <ISpoolerProvider>(); }
public PdfCreatorFolderCleanUp(ITempFolderProvider tempFolderProvider, ISpoolerProvider spoolFolderProvider, IFolderCleaner folderCleaner) { _tempFolderProvider = tempFolderProvider; _spoolFolderProvider = spoolFolderProvider; _folderCleaner = folderCleaner; }
public NewPdfJobStart(IJobInfoQueue jobInfoQueue, ISpoolerProvider spoolerProvider, IMaybePipedApplicationStarter maybePipedApplicationStarter, IJobInfoManager jobInfoManager, PdfDirectConversion directConversion) : base(jobInfoQueue, maybePipedApplicationStarter, jobInfoManager) { DirectConversionBase = directConversion; }
public JobFolderBuilder(IDirectory directory, IUniqueDirectory uniqueDirectory, ISpoolerProvider spoolerProvider) { _directory = directory; _uniqueDirectory = uniqueDirectory; _spoolerProvider = spoolerProvider; }
protected DirectConversionBase(ISettingsProvider settingsProvider, IJobInfoManager jobInfoManager, ISpoolerProvider spoolerProvider) { _settingsProvider = settingsProvider; _jobInfoManager = jobInfoManager; _spoolerProvider = spoolerProvider; }
public SpoolFolderAccess(ISpoolerProvider spoolerProvider, IDirectory directory, IDirectoryAccessControl directoryAccess) { _spoolerProvider = spoolerProvider; _directory = directory; _directoryAccess = directoryAccess; }