Interface ICollectionObserver<T>
Represents a collection of items that can be accessed by index and has change notification capabilities.
public interface ICollectionObserver<T>
Type Parameters
TThe type of elements in the collection.
Remarks
This interface provides a way to retrieve the total number of items in the collection and access individual items by their zero-based index. Changes to the collection can be observed through the Notification property.
Properties
- Count
Gets the total number of items currently in the collection.
- Notification
Gets the object that provides notifications when the collection changes.
Methods
- GetItem(int)
Retrieves the item at the specified index in the collection.