public MainViewModel(Model.Model model) { _model = model; _connectionQuery = new ConnectionQuery(); _getFileNamesQuery = new GetFileNamesQuery(); _downloadFileQuery = new DownloadFileQuery(); _downloads = new ObservableCollection<string>(); _processingInfos = new ObservableCollection<ProcessingInfo>(); }
public GetFileNamesExecutor CreateFileNamesExecutor(GetFileNamesQuery query) { return new GetFileNamesExecutor(query, _itemsFactory); }