public SignaturesUpload(IApplicationMicrostation applicationMicrostation, IProjectSignatureSettings projectSignatureSettings, IMessagingService messagingService, IFileSystemOperations fileSystemOperations, IFilePathOperations filePathOperations, IWcfServerServicesFactory wcfServerServicesFactory) { _applicationMicrostation = applicationMicrostation; _projectSignatureSettings = projectSignatureSettings; _messagingService = messagingService; _fileSystemOperations = fileSystemOperations; _filePathOperations = filePathOperations; _signatureServerServiceFactory = wcfServerServicesFactory?.SignatureServerServiceFactory; }
public ConvertingService(IConvertingFileData convertingFileData, IProjectSettings projectSettings, IWcfServerServicesFactory wcfServerServicesFactory, IConverterServerPackageDataFromDto converterServerPackageDataFromDto, IConverterServerPackageDataToDto converterServerPackageDataToDto, IMessagingService messagingService, IFileSystemOperations fileSystemOperations) { _convertingFileData = convertingFileData ?? throw new ArgumentNullException(nameof(convertingFileData)); _projectSettings = projectSettings ?? throw new ArgumentNullException(nameof(projectSettings)); _convertingServerServiceFactory = wcfServerServicesFactory?.ConvertingServerServiceFactory ?? throw new ArgumentNullException(nameof(wcfServerServicesFactory)); _converterServerPackageDataFromDto = converterServerPackageDataFromDto ?? throw new ArgumentNullException(nameof(converterServerPackageDataFromDto)); _converterServerPackageDataToDto = converterServerPackageDataToDto ?? throw new ArgumentNullException(nameof(converterServerPackageDataToDto)); _messagingService = messagingService ?? throw new ArgumentNullException(nameof(messagingService)); _fileSystemOperations = fileSystemOperations ?? throw new ArgumentNullException(nameof(fileSystemOperations)); _convertingUpdaterSubscriptions = new CompositeDisposable(); _idPackage = null; }