public FileMigrationService(IKernel kernel, FileSystemSettings fileSystemSettings, ISession session, ICreateBatch createBatch, UrlHelper urlHelper) { IEnumerable<IFileSystem> fileSystems = TypeHelper.GetAllConcreteTypesAssignableFrom<IFileSystem>() .Select(type => kernel.Get(type) as IFileSystem); _allFileSystems = fileSystems .ToDictionary(system => system.GetType().FullName); _fileSystemSettings = fileSystemSettings; _session = session; _createBatch = createBatch; _kernel = kernel; _urlHelper = urlHelper; }
public FileMigrationService(IKernel kernel, FileSystemSettings fileSystemSettings, ISession session, ICreateBatch createBatch, UrlHelper urlHelper) { IEnumerable <IFileSystem> fileSystems = TypeHelper.GetAllConcreteTypesAssignableFrom <IFileSystem>() .Select(type => kernel.Get(type) as IFileSystem); _allFileSystems = fileSystems .ToDictionary(system => system.GetType().FullName); _fileSystemSettings = fileSystemSettings; _session = session; _createBatch = createBatch; _kernel = kernel; _urlHelper = urlHelper; }
public OldImportProductsServiceTests() { _documentService = A.Fake<IDocumentService>(); _importSpecificationsService = A.Fake<IImportProductSpecificationsService>(); _importProductVariantsService = A.Fake<IImportProductVariantsService>(); _importProductImagesService = A.Fake<IImportProductImagesService>(); _importProductUrlHistoryService = A.Fake<IImportProductUrlHistoryService>(); _uniquePageService = A.Fake<IUniquePageService>(); _createBatch = A.Fake<ICreateBatch>(); _importProductsService = new ImportProductsService(_documentService, _importSpecificationsService, _importProductVariantsService, _importProductImagesService, _importProductUrlHistoryService, Session, _uniquePageService, _createBatch, _getNewBrandPage); }
public OldImportProductsServiceTests() { _documentService = A.Fake <IDocumentService>(); _importSpecificationsService = A.Fake <IImportProductSpecificationsService>(); _importProductVariantsService = A.Fake <IImportProductVariantsService>(); _importProductImagesService = A.Fake <IImportProductImagesService>(); _importProductUrlHistoryService = A.Fake <IImportProductUrlHistoryService>(); _uniquePageService = A.Fake <IUniquePageService>(); _createBatch = A.Fake <ICreateBatch>(); _importProductsService = new ImportProductsService(_documentService, _importSpecificationsService, _importProductVariantsService, _importProductImagesService, _importProductUrlHistoryService, Session, _uniquePageService, _createBatch, _getNewBrandPage); }
public ImportProductsService(IDocumentService documentService, IImportProductSpecificationsService importSpecificationsService, IImportProductVariantsService importProductVariantsService, IImportProductImagesService importProductImagesService, IImportProductUrlHistoryService importUrlHistoryService, ISession session, IUniquePageService uniquePageService, ICreateBatch createBatch, IGetNewBrandPage getNewBrandPage) { _documentService = documentService; _importSpecificationsService = importSpecificationsService; _importProductVariantsService = importProductVariantsService; _importProductImagesService = importProductImagesService; _importUrlHistoryService = importUrlHistoryService; _session = session; _uniquePageService = uniquePageService; _createBatch = createBatch; _getNewBrandPage = getNewBrandPage; }
public ImportProductsService(IGetDocumentByUrl <MediaCategory> getByUrl, IMediaCategoryAdminService mediaCategoryAdminService, IImportProductSpecificationsService importSpecificationsService, IImportProductVariantsService importProductVariantsService, IImportProductImagesService importProductImagesService, IImportProductUrlHistoryService importUrlHistoryService, ISession session, IUniquePageService uniquePageService, ICreateBatch createBatch, IGetNewBrandPage getNewBrandPage) { _getByUrl = getByUrl; _mediaCategoryAdminService = mediaCategoryAdminService; _importSpecificationsService = importSpecificationsService; _importProductVariantsService = importProductVariantsService; _importProductImagesService = importProductImagesService; _importUrlHistoryService = importUrlHistoryService; _session = session; _uniquePageService = uniquePageService; _createBatch = createBatch; _getNewBrandPage = getNewBrandPage; }
public ImportDocumentsService(ICreateBatch createBatch, IControlBatchRun controlBatchRun) { _createBatch = createBatch; _controlBatchRun = controlBatchRun; }
public CreateUpdateUrlBatch(ICreateBatch createBatch, IControlBatchRun controlBatchRun) { _createBatch = createBatch; _controlBatchRun = controlBatchRun; }