Created
June 18, 2018 10:27
-
-
Save lubiepomaranczki/90a8e0e5551c511fac473438bc7e0c30 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public RegisterPageViewModel() | |
{ | |
Observe(); | |
Title = "SearchText"; | |
} | |
public void Observe() | |
{ | |
Observable.FromEventPattern(ev => SearchText.DataChanged += ev, ev => SearchText.DataChanged -= ev) | |
.Throttle(TimeSpan.FromMilliseconds(750)) | |
.Subscribe(DO_SMTH_METHOD()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment