RoomCollection
public class RoomCollection : IReadOnlyCollection<Room>, IEnumerable<Room>, IEnumerable, IEqualityComparer<Room>
Intern room dictionary
Properties
Name | Type | Description |
---|---|---|
Item[String] | Room | Try to get room by name |
Count | Int32 | Count of rooms in the collection |
IsRemoveOnly | Boolean | 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 |