[]
This method is called when an item is removed from the collection.
protected virtual Task RemoveAsyncOverride(int index, CancellationToken cancellationToken)
Type | Name | Description |
---|---|---|
int | index | The index of the removed item. |
CancellationToken | cancellationToken | The cancellation token. |
Type | Description |
---|---|
Task |
CanRemove(int) must return true to enable this method.