ReactiveList.AddRange(ReadOnlySpan) method¶
Defined in
Type: ReactiveListReactiveList.Reactive.Collections
Assembly: ReactiveList.Reactive.dll
Applies to
net11.0, net10.0, net47, net471, net472, net48, net481
Overloads¶
-
public void AddRange(ReadOnlySpan<T> items) -
public void AddRange(IEnumerable<T> items)
1. Overload¶
public void AddRange(ReadOnlySpan<T> items)
View source (opens in a new tab)
Summary: Adds a range of items from a ReadOnlySpan (opens in a new tab).
Parameters
| Name | Type | Description |
|---|---|---|
items | ReadOnlySpan | The items to add. |
2. Overload¶
public void AddRange(IEnumerable<T> items)
View source (opens in a new tab)
Inherited documentation
These docs were inherited from IReactiveList<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. |