Table of Contents

Interface ICollectionObserver<T>

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Represents a collection of items that can be accessed by index and has change notification capabilities.

public interface ICollectionObserver<T>

Type Parameters

T

The 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.