public FileScanningViewModel(ISettings settings, string path) { _loadingText = "Loading projects from " + path.ToLowerInvariant(); _scanningCommand = new ScanningCommand(path, settings.SimplifyProjectTree); _cancelCommand = new RelayCommand(() => _scanningCommand.Cancel()); }
public void Cancel() { _scanningCommand.Cancel(); }