예제 #1
0
 public ConversationUpdatedEventHandler(IAutomapHelper automapHelper, IConversationSummaryRepository conversationSummaryRepository, IMessageRepository messageRepository, IQueryFactory queryFactory)
 {
     AutomapHelper = automapHelper;
     ConversationSummaryRepository = conversationSummaryRepository;
     MessageRepository             = messageRepository;
     QueryFactory = queryFactory;
 }
예제 #2
0
 /// <summary>
 /// Instantiate a new instance of the <see cref="ConversationService"/> class.
 /// </summary>
 public ConversationService(IEventStore <Guid> eventStore, ILogger logger, ICorrelationIdHelper correlationIdHelper, IAuthenticationTokenHelper <Guid> authenticationTokenHelper, IConversationSummaryRepository conversationSummaryRepository, IQueryFactory queryFactory, IMessageRepository messageRepository, ICommandPublisher <Guid> commandPublisher)
     : base(eventStore, logger, correlationIdHelper, authenticationTokenHelper)
 {
     ConversationSummaryRepository = conversationSummaryRepository;
     QueryFactory      = queryFactory;
     MessageRepository = messageRepository;
     CommandPublisher  = commandPublisher;
 }
예제 #3
0
 public ConversationsController(ILogger logger, ICorrelationIdHelper correlationIdHelper, IConfigurationManager configurationManager, IAuthenticationTokenHelper <Guid> authenticationTokenHelper, IQueryFactory queryFactory, IConversationSummaryRepository conversationSummaryRepository, IMessageRepository messageRepository, IAuthenticationHelper authenticationHelper, ICommandPublisher <Guid> commandPublisher)
     : base(logger, correlationIdHelper, configurationManager, authenticationTokenHelper)
 {
     QueryFactory = queryFactory;
     ConversationSummaryRepository = conversationSummaryRepository;
     MessageRepository             = messageRepository;
     AuthenticationHelper          = authenticationHelper;
     CommandPublisher = commandPublisher;
 }
예제 #4
0
 public ConversationStartedEventHandler(IAutomapHelper automapHelper, IConversationSummaryRepository conversationSummaryRepository, IMessageRepository messageRepository)
 {
     AutomapHelper = automapHelper;
     ConversationSummaryRepository = conversationSummaryRepository;
     MessageRepository             = messageRepository;
 }