private void OnDirectoryRemoved(string name) { if (DirectoryRemoved != null) { DirectoryRemoved.Invoke(name); } }
public void RemoveDirectory(string fullPath) { var preprocessedPath = PreprocessPath(fullPath); if (_favouriteDirectories.Remove(preprocessedPath)) { SaveFavouriteDirectories(); DirectoryRemoved.Raise(this, CreateArgs(preprocessedPath)); } }