Skip to content

Instantly share code, notes, and snippets.



Created Jun 21, 2019
What would you like to do?
class ViewModel
public ReactiveProperty<string> Input { get; }
public ReactiveProperty<string> Output { get; }
public ViewModel()
Input = new ReactiveProperty("");
Output = Input
.Delay(TimeSpan.FromSecond(1)) // Using a Rx method.
.Select(x => x.ToUpper()) // Using a LINQ method.
.ToReactiveProperty(); // Convert to ReactiveProperty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment