AddFiles() public method

Adds several files to the upload queue.
public AddFiles ( string files ) : Uploader
files string An array containing the paths to the files to be uploaded.
return Uploader
 private async Task Upload(string[] files, string destination)
 {
     StartProgressRing();
     Uploader uploader = new Uploader(client);
     uploader.AddFiles(files);
     try
     {
         await uploader.UploadFiles();
         await uploader.Operation("FileManager.Import")
                       .SetContext("currentDocument", currentDirectory.Path)
                       .Execute();
     }
     catch (Exception ex)
     {
         await DisplayError("Could not upload files.", ex);
     }
     await UpdateView();
     StopProgressRing();
 }