/// <summary>
 /// Moves the specified files (or all files) in the current folder.
 /// </summary>
 /// <param name="fileNames">A collection of file names.</param>
 /// <param name="includeAllFiles">A value indicating, whether all files in the current folder will be moved.</param>
 private void BulkMove(IEnumerable<string> fileNames, bool includeAllFiles)
 {
     string baseUrl = ResolveUrl(GetCopyMoveDialogUrl());
     DialogUrlBuilder builder = new DialogUrlBuilder(baseUrl, Identifier).WithAction("move").WithFolderPath(LastFolderPath).WithLibraryId(LibraryID);
     if (includeAllFiles)
     {
         builder.WithAllFiles();
     }
     else
     {
         builder.WithFileNames(fileNames);
     }
     string dialogUrl = builder.GetUrl();
     RegisterBulkActionStartupScript("modalMove", dialogUrl, "MoveFiles");
 }
 /// <summary>
 /// Copies the specified files (or all files) in the current folder.
 /// </summary>
 /// <param name="fileNames">A collection of file names.</param>
 /// <param name="includeAllFiles">A value indicating, whether all files in the current folder will be copied.</param>
 private void BulkCopy(IList<string> fileNames, bool includeAllFiles)
 {
     string baseUrl = ResolveUrl(GetCopyMoveDialogUrl());
     DialogUrlBuilder builder = new DialogUrlBuilder(baseUrl).WithAction("copy").WithFolderPath(LastFolderPath).WithLibraryId(LibraryID);
     if (includeAllFiles)
     {
         builder.WithAllFiles();
     }
     else
     {
         builder.WithFileNames(fileNames);
     }
     string dialogUrl = builder.GetUrl();
     RegisterBulkActionStartupScript("modalCopy", dialogUrl, "CopyFiles");
 }