Exemplo n.º 1
0
 public DownloadManager()
 {
     _downloads = new AvaloniaList <Download>();
     Downloads.GetWeakCollectionChangedObservable().Subscribe(x => Log.Information("Downloads changed"));
 }
Exemplo n.º 2
0
 public DownloadService(HttpClient http)
 {
     _http      = http;
     _downloads = new AvaloniaList <Download>();
     Downloads.GetWeakCollectionChangedObservable().Subscribe(x => Log.Information("Downloads changed"));
 }