public DirectoryViewModel(string parentName) { _directoryInfo = new DirectoryInfo(parentName); if (CanAccessDirectory() && !IsEmpty) { SubDirectories.Add(_dummy); } RequestOpenInWindowsExplorerCommand = new RelayCommand(OpenInWindowsExplorer); }
public AddressBarViewModel() { ApplyNewPathCommand = new RelayCommand(ApplyNewPath); }
public NavigationViewModel() { GoBackCommand = new RelayCommand(GoBack); GoForwardCommand = new RelayCommand(GoForward); }