Reactive2DList.AddRange(IEnumerable>) method¶
Defined in
Type: Reactive2DListReactiveList.Reactive.Collections
Assembly: ReactiveList.Reactive.dll
Applies to
net11.0, net10.0, net47, net471, net472, net48, net481
Overloads¶
-
public void AddRange(IEnumerable<ReactiveList<T>> items) -
public void AddRange(ReadOnlySpan<ReactiveList<T>> items) -
public void AddRange(IEnumerable<IEnumerable<T>> items) -
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
| Name | Type | Description |
|---|---|---|
items | IEnumerable | The items. |
Exceptions
| Type | Condition |
|---|---|
| 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
| Name | Type | Description |
|---|---|---|
items | ReadOnlySpan | 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
| Name | Type | Description |
|---|---|---|
items | IEnumerable | A collection of sequences to add. Each inner sequence is added as a single item. Cannot be null. |
Exceptions
| Type | Condition |
|---|---|
| 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
| Name | Type | Description |
|---|---|---|
items | IEnumerable | The collection of items to add. Cannot be null. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException (opens in a new tab) | Thrown if items is null. |