Developer Documentation

RoomCollection

public class RoomCollection : IReadOnlyCollection<Room>, IEnumerable<Room>, IEnumerable, IEqualityComparer<Room>

Intern room dictionary

Constructors

NameDescription
RoomCollection()Intern room dictionary

Properties

NameDescription
Item[String]Try to get room by name
CountCount of rooms in the collection
IsRemoveOnlyIndicates whether elements can be removed from the collection

Public Methods

NameDescription
AddAdd a room to the collection
ClearFree and empty the collection
ContainsDetermines whether the room by name/token is in the collection
CopyToCopies rooms of the collection to an array
EqualsCompares two rooms by name
GetEnumeratorGet enumerator for iteration
GetHashCodeDefault GetHashCode
RemoveRemoves the room from this collection
LeaveGet the room and leave
System.Collections.IEnumerable.GetEnumerator