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

Deep property change notification with the Switch operator #9

Open
LeeCampbell opened this issue Mar 19, 2014 · 0 comments
Open

Deep property change notification with the Switch operator #9

LeeCampbell opened this issue Mar 19, 2014 · 0 comments

Comments

@LeeCampbell
Copy link
Owner

Either show how to build a query that allows a user to observe ObjA.PropB.SubPropC by leaveraging Switch e.g.

ObjA.WhenPropertyChanges(vm=>vm.PropB)
    .Select(b=>b.WhenPropertyChanges(vm=>vm.SubPropC))
    .Switch()  

We could potentially extend this to build an Expression builder so you could just

ObjA.WhenPropertyChanges(vm=>vm.PropB.SubPropC)
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

1 participant