Inheritance: ChatItemViewModel
Esempio n. 1
0
        private void SendImage(BitmapSource image, SenderSide side = SenderSide.Local)
        {
            var chatImage = new ChatImageViewModel()
            {
                Image        = image,
                SentDateTime = DateTime.Now,
                SenderSide   = side
            };

            ChatItems.Add(chatImage);
        }
Esempio n. 2
0
 private void SendImage(BitmapSource image, SenderSide side = SenderSide.Local)
 {
     var chatImage = new ChatImageViewModel()
     {
         Image = image,
         SentDateTime = DateTime.Now,
         SenderSide = side
     };
     ChatItems.Add(chatImage);
 }