Created
August 17, 2017 10:54
-
-
Save jfversluis/60ca4161e5e9a0cb86a9aa4c8025afcc to your computer and use it in GitHub Desktop.
Basic plumbing
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
private readonly ObservableRangeCollection<Breach> _breaches = new ObservableRangeCollection<Breach>(); | |
public ObservableCollection<Breach> Breaches => _breaches; | |
private ICommand refreshCommand; | |
public ICommand RefreshCommand | |
{ | |
get | |
{ | |
return refreshCommand ?? | |
(refreshCommand = new Command(() => LoadBreaches(), () => !IsLoading)); | |
} | |
} | |
private IBeenPwnedClient _pwnedClient = new BeenPwnedClient($"AkavacheSample"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment