public CounterViewModel() { Increment = ReactiveCommand.CreateFromTask(IncrementCount); _count = Increment.ToProperty(this, x => x.CurrentCount, scheduler: RxApp.MainThreadScheduler); }