public DashboardController( IAppointmentsService appointmentsService, IChatsService chatsService) { this.appointmentsService = appointmentsService; this.chatsService = chatsService; }
public MessagesProcessor( IParticipantsService participantsService, IChatsService chatsService) { this.participantsService = participantsService; this.chatsService = chatsService; }
public ChatsController( IChatsService chatsService, UserManager <ApplicationUser> userManager) { this.chatsService = chatsService; this.userManager = userManager; }
public ChatsHub(IChatsService <TPersonalizedChatsSummary, TPersonalizedChatCollection, TPersonalizedChat, TChat, TChatInfo, TChatParticipantCollection, TChatParticipant, TParticipationCandidates, TParticipationCandidateCollection, TParticipationCandidate, TChatUser, TChatMessageInfo, TTextMessage, TQuoteMessage, TMessageAttachmentCollection, TMessageAttachment, TChatRefMessageCollection, TChatRefMessage, TContactMessageCollection, TContactMessage, TChatFilter, TChatUserFilter, TMessageFilter, TPagedResult, TPagingOptions> chatsService) { ChatsService = chatsService; }
public MessagesService(IUnitOfWork unitOfWork, UserManager <User> userManager, IHttpContextAccessor contextAccessor, IChatsService chatsService) { _unitOfWork = unitOfWork; _userManager = userManager; _contextAccessor = contextAccessor; _chatsService = chatsService; }
public ChatHub( UserManager <ApplicationUser> userManager, IChatsService chatService) { this.userManager = userManager; this.chatService = chatService; }
public PingCommand( ChatMessage commandMessage, IParticipantsService participantsService, IChatsService chatsService) : base(commandMessage, participantsService) { this.chatsService = chatsService; }
public ChatsHub( IChatsService chatsService, IMessagesService messagesService, IEmailProvider emailProvider) { _emailProvider = emailProvider; _chatsService = chatsService; _messagesService = messagesService; }
public UsersController( IUsersService usersService, IEmailService emailService, IChatsService chatsService, IStudentTutorsService studentTutorsService) { _usersService = usersService; _emailService = emailService; _chatsService = chatsService; _studentTutorsService = studentTutorsService; }
public DialogsViewModel(IMvxNavigationService navigationService, IChatsService chatsService) { _navigationService = navigationService; _chatsService = chatsService; var service = Mvx.IoCProvider.Resolve <IMessagingService>(); if (service != null) { service.MessageReceived += OnMessageReceived; } }
public ChatViewModel(IChatsService chatsService, IPermissionsService permissionsService) { _chatsService = chatsService; _permissionsService = permissionsService; var service = Mvx.IoCProvider.Resolve <IMessagingService>(); if (service != null) { service.MessageReceived += OnMessageReceived; } }
public ChatsServiceTests() { var setup = new UnitTestSetup(); _userManager = setup.UserManager; _context = setup.Context; _currentUserServiceMock = new Mock <ICurrentUserService>(); _currentUserServiceMock .Setup(s => s.GetUserId()) .Returns(setup.UserManager.Users.First(u => u.Email == "*****@*****.**").Id); _chatsService = new ChatsService( new ChatMessagesRepository(setup.Context), _currentUserServiceMock.Object, setup.UserManager, new TimeService(), new Mock <IHubsService>().Object ); }
/// <summary> /// Initializes a new instance of the <see cref="TeamsConversationActivity"/> class. /// </summary> /// <param name="conversationService">The create user conversation service.</param> /// <param name="sentNotificationDataRepository">The sent notification data repository.</param> /// <param name="userDataRepository">The user data repository.</param> /// <param name="notificationDataRepository">Notification data entity repository.</param> /// <param name="appManagerService">App manager service.</param> /// <param name="chatsService">Chats service.</param> /// <param name="appSettingsService">App Settings service.</param> /// <param name="options">Teams conversation options.</param> /// <param name="localizer">Localization service.</param> public TeamsConversationActivity( IConversationService conversationService, ISentNotificationDataRepository sentNotificationDataRepository, IUserDataRepository userDataRepository, INotificationDataRepository notificationDataRepository, IAppManagerService appManagerService, IChatsService chatsService, IAppSettingsService appSettingsService, IOptions <TeamsConversationOptions> options, IStringLocalizer <Strings> localizer) { this.conversationService = conversationService ?? throw new ArgumentNullException(nameof(conversationService)); this.sentNotificationDataRepository = sentNotificationDataRepository ?? throw new ArgumentNullException(nameof(sentNotificationDataRepository)); this.userDataRepository = userDataRepository ?? throw new ArgumentNullException(nameof(userDataRepository)); this.notificationDataRepository = notificationDataRepository ?? throw new ArgumentNullException(nameof(notificationDataRepository)); this.appManagerService = appManagerService ?? throw new ArgumentNullException(nameof(appManagerService)); this.chatsService = chatsService ?? throw new ArgumentNullException(nameof(chatsService)); this.appSettingsService = appSettingsService ?? throw new ArgumentNullException(nameof(appSettingsService)); this.options = options?.Value ?? throw new ArgumentNullException(nameof(options)); this.localizer = localizer ?? throw new ArgumentNullException(nameof(localizer)); }
public ChatsHub(IChatsService <PersonalizedChatsSummary, List <PersonalizedChat>, PersonalizedChat, Chat, ChatInfo, List <ChatParticipant>, ChatParticipant, ParticipationCandidates, List <ParticipationCandidate>, ParticipationCandidate, ChatUser, ChatMessageInfo, TextMessage, QuoteMessage, List <MessageAttachment>, MessageAttachment, List <ChatRefMessage>, ChatRefMessage, List <ContactMessage>, ContactMessage, ChatFilter <ChatUserFilter, MessageFilter>, ChatUserFilter, MessageFilter, PagedResult <List <PersonalizedChat>, PersonalizedChat>, PagingOptions> chatsService) : base(chatsService) { }
public ChatsServiceTests() { _sut = new ChatsService(_chatHubMock.Object, _unitOfWorkMock.Object, _mapper.Object); }
public ChatsController(IChatsService service) { _chatsService = service; }
public ChatController(IMessagesService messagesService, IChatsService chatsService) { _messagesService = messagesService; _chatsService = chatsService; }
public ChatHub(IChatsService chatsService) { this.chatsService = chatsService; }
public ChatsController( IChatsService chatsService) { this.chatsService = chatsService; }
public SameMessageAuthorAuthorizationHandler(UserManager <User> userManager, IChatsService chatsService) { _userManager = userManager; }
public MessagesController(IMessagesService messagesService, IAuthorizationService authorizationService, IChatsService chatsService) { _messagesService = messagesService; _authorizationService = authorizationService; _chatsService = chatsService; }
public ChatAdminAuthorizationHandler(UserManager <User> userManager, IChatsService chatsService) { _userManager = userManager; _chatsService = chatsService; }
public DotChatFacade(IChatsService <TPersonalizedChatsSummary, TPersonalizedChatCollection, TPersonalizedChat, TChat, TChatInfo, TChatParticipantCollection, TChatParticipant, TParticipationCandidates, TParticipationCandidateCollection, TParticipationCandidate, TChatUser, TChatMessageInfo, TTextMessage, TQuoteMessage, TMessageAttachmentCollection, TMessageAttachment, TChatRefMessageCollection, TChatRefMessage, TContactMessageCollection, TContactMessage, TChatFilter, TChatUserFilter, TMessageFilter, TChatsPagedResult, TPagingOptions> chats, IChatParticipantsService <TParticipationCandidateCollection, TParticipationCandidate> chatParticipants, IChatMessagesService <TChatInfo, TChatUser, TChatMessageCollection, TChatMessage, TChatMessageInfo, TTextMessage, TQuoteMessage, TMessageAttachmentCollection, TMessageAttachment, TChatRefMessageCollection, TChatRefMessage, TContactMessageCollection, TContactMessage, TMessageFilter, TChatMessagesPagedResult, TPagingOptions> chatMessages) { Chats = chats; ChatParticipants = chatParticipants; ChatMessages = chatMessages; }
public ChatController(IChatsService chatsService) { _chatsService = chatsService; }