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

Improve TransformToTree to use with AutoRefresh on parent id property #225

Conversation

chuuddo
Copy link
Contributor

@chuuddo chuuddo commented May 18, 2019

Now we can use AutoRefresh method instead of recreating whole object to update tree when object implement INotifyPropertyChanged and parent id changed.

_cache.Connect()
    .AutoRefresh(x => x.ParentId)
    .TransformToTree(x => x.ParentId)
    .AsObservableCache();

@RolandPheasant RolandPheasant merged commit b6d60da into reactivemarbles:master Jun 7, 2019
@chuuddo chuuddo deleted the add-parentid-refresh-to-transform-tree branch June 7, 2019 10:46
@lock lock bot locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants