Our new developer documentation is now available. Please check it out!
RoomCollection
public class RoomCollection : IReadOnlyCollection<Room>, IEnumerable<Room>, IEnumerable, IEqualityComparer<Room>
Intern room dictionary
Constructors
Name | Description |
---|---|
RoomCollection() | Intern room dictionary |
Properties
Name | Description |
---|---|
Item[String] | Try to get room by name |
Count | Count of rooms in the collection |
IsRemoveOnly | Indicates whether elements can be removed from the collection |
Public Methods
Name | Description |
---|---|
Add | Add a room to the collection |
Clear | Free and empty the collection |
Contains | Determines whether the room by name/token is in the collection |
CopyTo | Copies rooms of the collection to an array |
Equals | Compares two rooms by name |
GetEnumerator | Get enumerator for iteration |
GetHashCode | Default GetHashCode |
Remove | Removes the room from this collection |
Leave | Get the room and leave |
System.Collections.IEnumerable.GetEnumerator |