Table of Contents

Class DomArrayBase<T>

Namespace
combit.Reporting.Dom
Assembly
combit.ListLabel31.CrossPlatform.dll

Represents a base class for DOM array-like collections. Provides functionality for managing and enumerating items of type T.

public abstract class DomArrayBase<T> : DomItem, IEnumerable<T>, IEnumerable where T : DomItem

Type Parameters

T

The type of items in the collection, which must derive from DomItem.

Inheritance
DomArrayBase<T>
Implements
Derived
Inherited Members

Properties

this[int]

Gets or sets the item at the specified index.

public abstract T this[int index] { get; }

Parameters

index int

The zero-based index of the item to get or set.

Property Value

T

The item at the specified index.

Items

Gets an enumerable collection of items in this DomArrayBase<T>.

public IEnumerable<T> Items { get; }

Property Value

IEnumerable<T>

Length

Gets the number of items in the collection.

public virtual int Length { get; }

Property Value

int

Methods

BaseGetItem(int)

Gets the item at the specified index as a DomItem.

public DomItem BaseGetItem(int index)

Parameters

index int

The zero-based index of the item to retrieve.

Returns

DomItem

The item at the specified index as a DomItem.

GetEnumerator()

Returns an enumerator that iterates through the collection.

public IEnumerator<T> GetEnumerator()

Returns

IEnumerator<T>

An enumerator for the collection.