public ItemDetailViewModel(Item item = null) { Title = item?.Text; Item = item; this.StartFlightCommand = ReactiveCommand.CreateFromTask(async() => { await AircraftService.ExecuteFlightPlan(Item, CancellationToken.Token); }); this.EmergencyShutdownCommand = ReactiveCommand.Create(() => { CancelToken(); AircraftService.Shutdown(); RefreshToken(); }); }