ReactiveList.ClearWithoutDeallocation() 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 ClearWithoutDeallocation()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
| Name | Type | Description |
|---|---|---|
notifyChange | bool (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. |