Ejemplo n.º 1
0
 public MainViewModel(Model.Model model)
 {
     _model = model;
     _connectionQuery = new ConnectionQuery();
     _getFileNamesQuery = new GetFileNamesQuery();
     _downloadFileQuery = new DownloadFileQuery();
     _downloads = new ObservableCollection<string>();
     _processingInfos = new ObservableCollection<ProcessingInfo>();
 }
Ejemplo n.º 2
0
 public DownloadFileExecutor CreateDownloadFileExecutor(DownloadFileQuery query)
 {
     return new DownloadFileExecutor(query, _itemsFactory);
 }