public MessagingClusterTabBaseViewModel( IPossibleConversationItemsFactory possibleConversationItemsFactory, IChatService chatService, IMessagesService messagesService, IGroupMessagingService groupMessagingService) { _possibleConversationItemsFactory = possibleConversationItemsFactory; _chatService = chatService; _messagesService = messagesService; _groupMessagingService = groupMessagingService; }
public ConversationTabViewModel( IChatService chatService, IMessageItemFactory messageItemFactory, IMessagesService messagesService, IGroupMessagingService groupMessagingService) { _chatService = chatService; _messageItemFactory = messageItemFactory; _messagesService = messagesService; _groupMessagingService = groupMessagingService; CanBeClosed = true; }
public GroupsMessengerTabViewModel( IGroupsService groupsService, IPossibleConversationItemsFactory possibleConversationItemsFactory, IStateService stateService, IChatService chatService, IMessagesService messagesService, IGroupMessagingService groupMessagingService) : base(possibleConversationItemsFactory, chatService, messagesService, groupMessagingService) { _groupsService = groupsService; _stateService = stateService; }
public FamilyMessengerTabViewModel( IChatService chatService, IMessageItemFactory messageItemFactory, IFamilyService familyService, IPossibleConversationItemsFactory possibleConversationItemsFactory, IMessagesService messagesService, IGroupMessagingService groupMessagingService) : base(chatService, messageItemFactory, messagesService, groupMessagingService) { _familyService = familyService; _possibleConversationItemsFactory = possibleConversationItemsFactory; CanBeClosed = false; }
public IdentityUtilService( INavigationService navigationService, IRequestProvider requestProvider, IStateService stateService, IMessagesService messagesService, IGroupMessagingService groupMessagingService, IDialogService dialogService) { _navigationService = navigationService; _requestProvider = requestProvider; _stateService = stateService; _messagesService = messagesService; _groupMessagingService = groupMessagingService; _dialogService = dialogService; /// /// TODO: make services dispodable. In that case `unsubscribe` is not important because current service is registered as singleton. /// _stateService.ChangedProfile += OnStateServiceChangedProfile; }