Developer Documentation

RoomCollection

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

Intern room dictionary

Properties

NameTypeDescription
Item[String]RoomTry to get room by name
CountInt32Count of rooms in the collection
IsRemoveOnlyBooleanIndicates 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