Esempio n. 1
0
 public HubChatClient(
     IChatContext chatContext,
     IChatRoomRepository chatRoomRepository,
     IChatSessionRepository chatSessionRepository,
     IChatUserRepository chatUserRepository,
     IOptionsMonitor <ChatOptions> chatOptions,
     IServiceLogger <HubChatClient> logger)
 {
     _chatContext           = chatContext;
     _chatRoomRepository    = chatRoomRepository;
     _chatSessionRepository = chatSessionRepository;
     _chatUserRepository    = chatUserRepository;
     _chatOptions           = chatOptions;
     _logger = logger;
 }
Esempio n. 2
0
 public ChatSessionBO(IChatSessionRepository chatSessionRepository, IChatSessionJoinnerRepository chatSessionJoinnerRepository, IMapper <ChatSession, ChatSessionDto> chatSessionDtoMapper)
 {
     this.chatSessionRepository        = chatSessionRepository;
     this.chatSessionJoinnerRepository = chatSessionJoinnerRepository;
     this.chatSessionDtoMapper         = chatSessionDtoMapper;
 }