public PairServiceViewModel(IPairedService service) { Service = service; PairCommand = new RelayCommand <PairingOption> (OnPair, OnCanPair); CancelCommand = new RelayCommand(Cancel); RefreshCommand = new RelayCommand(Refresh, () => !IsBusy); Refresh(); }
public PairServiceResultMessage(IPairedService service) { Service = service ?? throw new ArgumentNullException(nameof(service)); }
public PairServiceResultMessage(IPairedService service, Exception ex) : this(service) { Exception = ex; }
public PairServiceMessage(IPairedService pairedService) { PairedService = pairedService; }