Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Basic plumbing
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