예제 #1
0
 public bool IsFull(Common_Library.Type type)
 {
     if (type != Type)
     {
         return(true);
     }
     return(IsFull());
 }
예제 #2
0
        public static Room CreateNewRoom(string ConnectionId, string chatname, Common_Library.Type type, Models.Account account)
        {
            Room room = new Room()
            {
                Type = type
            };

            room.AddNewUser(ConnectionId, chatname, account, true);
            return(room);
        }