Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ObservableBatchCollection.Reset #57

Closed
JohanLarsson opened this issue May 26, 2017 · 1 comment
Closed

ObservableBatchCollection.Reset #57

JohanLarsson opened this issue May 26, 2017 · 1 comment

Comments

@JohanLarsson
Copy link
Member

Before

items.Clear();
items.AddRange(newItems);

After:

items.Reset(newItems);

Not sure what to name it.

@ReedCopsey
Copy link

Perhaps something like ReplaceContents or ReplaceContentsWith(newItems) ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants