Skip to content

})} })} })} )}

Reactive2DList.AddRange(IEnumerable>) method

Defined in

Type: Reactive2DList Namespace: ReactiveList.Reactive.Collections Assembly: ReactiveList.Reactive.dll

Applies to

net11.0, net10.0, net47, net471, net472, net48, net481

Overloads

  1. public void AddRange(IEnumerable<ReactiveList<T>> items)

  2. public void AddRange(ReadOnlySpan<ReactiveList<T>> items)

  3. public void AddRange(IEnumerable<IEnumerable<T>> items)

  4. public void AddRange(IEnumerable<T> items)

1. Overload

public void AddRange(IEnumerable<ReactiveList<T>> items)

View source (opens in a new tab)

Inherited documentation

These docs were inherited from ReactiveList<T>. The member doesn't override them on this type.

Summary: Adds the range.

Parameters

NameTypeDescription
itemsIEnumerable> (opens in a new tab)The items.

Exceptions

TypeCondition
System.ArgumentNullException (opens in a new tab)Thrown when items is null.

2. Overload

public void AddRange(ReadOnlySpan<ReactiveList<T>> items)

View source (opens in a new tab)

Inherited documentation

These docs were inherited from ReactiveList<T>. The member doesn't override them on this type.

Summary: Adds a range of items from a ReadOnlySpan (opens in a new tab).

Parameters

NameTypeDescription
itemsReadOnlySpan> (opens in a new tab)The items to add.

3. Overload

public void AddRange(IEnumerable<IEnumerable<T>> items)

View source (opens in a new tab)

Summary: Adds a collection of sequences to the current collection, appending each inner sequence as a separate item.

Parameters

NameTypeDescription
itemsIEnumerable> (opens in a new tab)A collection of sequences to add. Each inner sequence is added as a single item. Cannot be null.

Exceptions

TypeCondition
System.ArgumentNullException (opens in a new tab)Thrown if items is null.

4. Overload

public void AddRange(IEnumerable<T> items)

View source (opens in a new tab)

Summary: Adds the elements of the specified collection to the current collection.

Parameters

NameTypeDescription
itemsIEnumerable (opens in a new tab)The collection of items to add. Cannot be null.

Exceptions

TypeCondition
System.ArgumentNullException (opens in a new tab)Thrown if items is null.