public MessageContainer(string userName, RoomContainer room, string msg, int msgId) { User = userName; Room = room; Msg = msg; MsgId = msgId; }
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; }
public RoomArchiveContainer(RoomContainer room) { _room = room; _archive = new List <MessageContainer>(); }
public RoomUsersContainer(RoomContainer room) { _room = room; _users = new List <string>(); }