An ordered collection of unique objects with add/remove callbacks.
Maintains insertion order and provides change notifications.
| Add |
Adds an object to the selection. |
| Any |
Checks if the selection contains any objects. |
| Clear |
Removes all objects from the selection, invoking OnItemRemoved for each. |
| Contains |
Checks if an object is in the selection. |
| GetEnumerator |
Returns an enumerator that iterates through the selected objects in order. |
| Remove |
Removes an object from the selection. |
| Set |
Clears the selection and sets it to a single object. |