Skip to content

)}

QuaternaryList.ReplaceAll(IEnumerable) method

Defined in

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

Applies to

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

public void ReplaceAll(IEnumerable<T> collection)

View source (opens in a new tab)

Summary: Replaces all existing items with new items atomically, emitting a single change notification.

Parameters

NameTypeDescription
collectionIEnumerable (opens in a new tab)The new items to replace all existing items with. Cannot be null.

Remarks

This operation clears all existing items and adds the new items in a single atomic operation. Only one change notification is emitted for the entire operation. All indices are updated accordingly.

Exceptions

TypeCondition
System.ArgumentNullException (opens in a new tab)collection is null.