示例#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>();
 }
示例#2
0
 public GetFileNamesExecutor CreateFileNamesExecutor(GetFileNamesQuery query)
 {
     return new GetFileNamesExecutor(query, _itemsFactory);
 }