Beispiel #1
0
 public MessageService(
     IRepository <Message> messageRepository,
     MessagingFactory messagingFactory,
     UserChatAssociationsService userChatAssociationsService)
 {
     this.messageRepository           = messageRepository;
     this.messagingFactory            = messagingFactory;
     this.userChatAssociationsService = userChatAssociationsService;
 }
Beispiel #2
0
 public ChatService(
     IRepository <Chat> chatRepository,
     UserChatAssociationsService userChatAssociationsService,
     MessagingFactory messagingFactory)
 {
     this.chatRepository = chatRepository;
     this.userChatAssociationsService = userChatAssociationsService;
     this.messagingFactory            = messagingFactory;
 }