public void clearBookmarks() { if (BookmarksCleared != null) { BookmarksCleared.Invoke(); } }
public void emptyTrash() { if (bookmarksResourceProvider.CanWrite) { bookmarksResourceProvider.delete(TrashFolderName); bookmarksResourceProvider.createDirectory(TrashFolderName); if (CurrentPath.IsTrash) { if (BookmarksCleared != null) { BookmarksCleared.Invoke(); } } } }