示例#1
0
 public ChatLogViewModel(ChatLog log)
     : this()
 {
     Id = log.Id;
     DateCreated = log.DateCreated;
     Messages = log.GetUserMessages(null);
 }
示例#2
0
 public ChatLogViewModel(ChatLog log, string userId)
     : this()
 {
     Messages = log.GetUserMessages(userId);
 }