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

            _cancelCommand = new RelayCommand(() => _scanningCommand.Cancel());
        }
예제 #2
0
 public void Cancel()
 {
     _scanningCommand.Cancel();
 }