Exemple #1
0
 private void InsertMessage(Message message)
 {
     message.Id = Guid.NewGuid().ToString();
     items.Add(message);
 }
Exemple #2
0
 private void UpdateCheckedMessage(Message item)
 {
     // TODO :mark "async"
     // await todoTable.UpdateAsync(message);
     items.Remove(item);
 }
Exemple #3
0
 private void ButtonSave_Click(object sender, RoutedEventArgs e)
 {
     var message = new Message {Text = InputText.Text};
     InsertMessage(message);
 }