Beispiel #1
0
        /// <summary>
        /// Creates and enters a new room.
        /// </summary>
        public void CreateRoom(RoomSettings settings)
        {
            var room = _connection.CreateRoom(settings);

            if (room != null)
            {
                CurrentRoom = new RoomViewModel()
                {
                    Room = room
                };
                UpdateRooms();
                Trace.Assert(CurrentSeat != null, "Successfully created a room, but do not find myself in the room");
            }
        }