Example #1
0
 public void getLocalMessages()
 {
     foreach (Message message in messageLocalDAO.GetMessages(chat.ChatID))
     {
         MessageList.Add(message);
     }
 }
Example #2
0
 public static List<Entidades.Message> GetMessages(string username, bool isPrivate)
 {
     MessageDAO messageDAO = new MessageDAO();
     List<Entidades.Message> messages = messageDAO.GetMessages(username, isPrivate);
     return messages;
 }
Example #3
0
 public static ObservableCollection <Message> GetMessages()
 {
     return(MessageDAO.GetMessages(ChannelService.CurrentChannel.Id));
 }