Ejemplo n.º 1
0
 public override GenericUploader CreateUploader(UploadersConfig config, TaskReferenceHelper taskInfo)
 {
     return(new Dropbox(config.DropboxOAuth2Info)
     {
         UploadPath = NameParser.Parse(NameParserType.Default, Dropbox.VerifyPath(config.DropboxUploadPath)),
         AutoCreateShareableLink = config.DropboxAutoCreateShareableLink,
         UseDirectLink = config.DropboxUseDirectLink
     });
 }
Ejemplo n.º 2
0
 public override GenericUploader CreateUploader(UploadersConfig config, TaskReferenceHelper taskInfo)
 {
     return(new Dropbox(config.DropboxOAuth2Info)
     {
         UploadPath = NameParser.Parse(NameParserType.URL, Dropbox.VerifyPath(config.DropboxUploadPath)),
         AutoCreateShareableLink = config.DropboxAutoCreateShareableLink,
         ShareURLType = config.DropboxURLType,
         AccountInfo = config.DropboxAccountInfo
     });
 }