예제 #1
0
 public MessageContainer(string userName, RoomContainer room, string msg, int msgId)
 {
     User  = userName;
     Room  = room;
     Msg   = msg;
     MsgId = msgId;
 }
예제 #2
0
 public MessageContainer(MessageContainer message)
 {
     User  = message.User;
     Room  = new RoomContainer(message.Room.Name, message.Room.Description);
     Msg   = message.Msg;
     MsgId = message.MsgId;
     Likes = message.Likes;
 }
예제 #3
0
 public RoomArchiveContainer(RoomContainer room)
 {
     _room    = room;
     _archive = new List <MessageContainer>();
 }
예제 #4
0
 public RoomUsersContainer(RoomContainer room)
 {
     _room  = room;
     _users = new List <string>();
 }