Skip to content

ReactiveList.ClearWithoutDeallocation() method

Defined in

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

Applies to

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

Overloads

  1. public void ClearWithoutDeallocation()

  2. public void ClearWithoutDeallocation(bool notifyChange)

1. Overload

public void ClearWithoutDeallocation()

View source (opens in a new tab)

Summary: Clears all items from the list; the internal array capacity is kept for reuse.

2. Overload

public void ClearWithoutDeallocation(bool notifyChange)

View source (opens in a new tab)

Summary: Clears all items from the list; the internal array capacity is kept for reuse.

Parameters

NameTypeDescription
notifyChangebool (opens in a new tab)Whether to notify observers; when false only the Items mirror is updated and VersionedStream carries one payloadless Reset, so a versioned replica stays equal to the list.