예제 #1
0
 public IncomingMessageProcessor(IMessageRepository messageRepository, ITagRepository tagRepository, IMessageParser messageParser, IValidMessageReceiver validMessageReceiver, IAllMessageReceiver allMessageReceiver)
 {
     _messageRepository = messageRepository;
     _messageParser = messageParser;
     _tagRepository = tagRepository;
     _validMessageReceiver = validMessageReceiver;
     _allMessageReceiver = allMessageReceiver;
 }
예제 #2
0
 public TestPushToCouchDBReceiver()
 {
     _messageRepository = new MessageRepository();
     _tagRepository = new TagRepository();
     _target = new PushToCouchDBReceiver() { CouchServer = "http://*****:*****@chchneeds.couchone.com", CouchDB = "unit_test" };
 }