コード例 #1
0
 public DesktopReferenceDataMapperService(
     IZipArchiveFileService zipArchiveFileService,
     IDesktopReferenceDataMapper <IReadOnlyCollection <LARSLearningDeliveryKey>, IReadOnlyCollection <LARSLearningDelivery> > larsLearningDeliveryMapperService,
     IFileService fileService,
     ILogger logger)
 {
     _zipArchiveFileService             = zipArchiveFileService;
     _larsLearningDeliveryMapperService = larsLearningDeliveryMapperService;
     _fileService = fileService;
     _logger      = logger;
 }
 private DesktopReferenceDataMapperService NewService(
     IZipArchiveFileService zipArchiveFileService = null,
     IDesktopReferenceDataMapper <IReadOnlyCollection <LARSLearningDeliveryKey>, IReadOnlyCollection <LARSLearningDelivery> > larsLearningDeliveryMapperService = null,
     IFileService fileService = null)
 {
     return(new DesktopReferenceDataMapperService(
                zipArchiveFileService,
                larsLearningDeliveryMapperService,
                fileService,
                Mock.Of <ILogger>()));
 }