示例#1
0
 public MessageAdapter(
     IMappingEngine mappingEngine,
     QueueUtilizerFactory queueUtilizerFactory,
     ImagePrinter imagePrinter,
     ImageService imageService,
     PatternViewModelProvider patternViewModelProvider,
     ImageUtils imageUtils)
 {
     _mappingEngine     = mappingEngine;
     _queueUtilizer     = queueUtilizerFactory.CreateQueue <InstagramMessageDto>();
     _imagePrinter      = imagePrinter;
     _imageService      = imageService;
     _patternVmProvider = patternViewModelProvider;
     _imageUtils        = imageUtils;
 }
示例#2
0
 public MessageAdapter(
     IMappingEngine mappingEngine,
     QueueUtilizerFactory queueUtilizerFactory,
     ImagePrinter imagePrinter,
     ImageService imageService,
     PatternViewModelProvider patternViewModelProvider,
      ImageUtils imageUtils)
 {
     _mappingEngine = mappingEngine;
     _queueUtilizer = queueUtilizerFactory.CreateQueue<InstagramMessageDto>();
     _imagePrinter = imagePrinter;
     _imageService = imageService;
     _patternVmProvider = patternViewModelProvider;
     _imageUtils = imageUtils;
 }