Exemplo n.º 1
0
 public DistributedCampaignManager(IDataStore <Campaign> campaignStore,
                                   MessageQueueWriterResolver messageQueueWriterResolver)
 {
     _campaignStore            = campaignStore;
     _indexCampaignQueueWriter = messageQueueWriterResolver.Resolve <Campaign>(new MessageQueue.Configurations.IndexCampaignConfiguration());
 }
 public DistributedVisitManager(IDataStore <Visit> visitStore,
                                MessageQueueWriterResolver messageQueueWriterResolver)
 {
     _visitStore = visitStore;
     _pushCampaignQueueWriter = messageQueueWriterResolver.Resolve <Visit>(new MessageQueue.Configurations.PushCampaignConfiguration());
 }