public ShortcutItem(string name, string value)
 {
     _sfm            = new SpecialFolderManager();
     IsSpecialFolder = _sfm.IsMatchSpecialFolder(value);
     Name            = name;
     Value           = value;
 }
 public ShortcutItem(string name, string value)
 {
     _sfm = new SpecialFolderManager();
     IsSpecialFolder = _sfm.IsMatchSpecialFolder(value);
     Name = name;
     Value = value;
 }
        internal ExplorerCleaner(ExplorerWindowCleanerAppConfig appConfig)
        {
            _appConfig           = appConfig;
            _explorerDic         = new Dictionary <int, Explorer>();
            _closedExplorerDic   = new ConcurrentDictionary <string, Explorer>();
            _restoreExplorerDic  = new Dictionary <int, Explorer>();
            _pinedRestoreHashSet = new HashSet <string>();
            Explorers            = new ObservableCollection <Explorer>();
            ClosedExplorers      = new ObservableCollection <Explorer>();
            BindingOperations.EnableCollectionSynchronization(Explorers, new object());
            BindingOperations.EnableCollectionSynchronization(ClosedExplorers, new object());
            _shellWindows = new ShellWindowsClass();

            _specialFolderManager = new SpecialFolderManager();
            Restore();
        }