public ConversationHub(IConversationService conversationService, IMessageService messageService, IConversationUserService conversationUserService) { _conversationService = conversationService; _messageService = messageService; _conversationUserService = conversationUserService; }
public UsersController( IUserService userService, IConversationUserService conversationUserService, IContactService contactService, IMapper mapper, IOptions <AppSettings> appSettings) { _userService = userService; _conversationUserService = conversationUserService; _contactService = contactService; _mapper = mapper; _appSettings = appSettings.Value; }
public MessageService(IRepository <Message> messageRepository, IRepository <Attachment> attachmentRepository, ITimeProvider timeProvider, IAttachmentContentProvider attachmentContentProvider, IBlackListService blackListService, IConversationUserService conversationUserService, Mapper mapper) { _messageRepository = messageRepository; _attachmentRepository = attachmentRepository; _timeProvider = timeProvider; _attachmentContentProvider = attachmentContentProvider; _blackListService = blackListService; _conversationUserService = conversationUserService; _mapper = mapper; // null obj pattern again InitEmptyEventHandlers(); }
public ConversationsController( IConversationService conversationService, IConversationUserService conversationUserService, IMessageService messageService, IUserService userService, IMapper mapper, IOptions <AppSettings> appSettings) { _conversationService = conversationService; _conversationUserService = conversationUserService; _messageService = messageService; _userService = userService; _mapper = mapper; _appSettings = appSettings.Value; }