コード例 #1
0
 public void clearBookmarks()
 {
     if (BookmarksCleared != null)
     {
         BookmarksCleared.Invoke();
     }
 }
コード例 #2
0
 public void emptyTrash()
 {
     if (bookmarksResourceProvider.CanWrite)
     {
         bookmarksResourceProvider.delete(TrashFolderName);
         bookmarksResourceProvider.createDirectory(TrashFolderName);
         if (CurrentPath.IsTrash)
         {
             if (BookmarksCleared != null)
             {
                 BookmarksCleared.Invoke();
             }
         }
     }
 }