示例#1
0
 public virtual RoomDto ToDto(UserId dtoReciver)
 {
     return(new RoomDto(_name, _admin, _users, _files.Values, _messages.Values, RoomType.Chat, null));
 }
示例#2
0
 public bool IsUserExist(UserId userId)
 {
     return(_users.Contains(userId));
 }