public ConversationViewModel(ILogicClient logicClient) { _logicClient = logicClient; _logicClient.Repeater += ProceedCommand; Messages = new ObservableCollection <MessageModel>(); LastSendWritingNotification = DateTime.Now; }
public HistoryViewModel(ILogicClient logicClient) { _logicClient = logicClient; _logicClient.Repeater += ProceedCommand; UserMessages = new ObservableCollection <MessageModel>(); UserList = new ObservableCollection <User>(); _logicClient.GetHistory(); }
public CommunicatorViewModel(ILogicClient logicClient) { _logicClient = logicClient; _logicClient.Repeater += ProceedCommand; Contacts = new ObservableCollection <ContactViewModel>(); ConversationWindows = new List <ConversationViewModel>(); Statuses = new ObservableCollection <PresenceStatus> { PresenceStatus.Online, PresenceStatus.Afk, PresenceStatus.Offline }; Status = PresenceStatus.Online; SelectedStatus = PresenceStatus.Online; InitTimer(); }
public RegisterViewModel(ILogicClient logicClient) { _logicClient = logicClient; _logicClient.Repeater += ProceedCommand; User = new UserModel(); }
public LoginViewModel(ILogicClient logicClient) { _logicClient = logicClient; User = new UserModel(); _logicClient.Repeater += ProceedCommand; }