Exemplo n.º 1
0
        public string UpdateFile(Schema.File fileNode, string localFileNameExplicit, IProgressUpdate progress)
        {
            string localFile =
                localFileNameExplicit == null
                                ? GetLocalFileName(fileNode)
                : localFileNameExplicit;

            return(UpdateFile(fileNode.Path, localFile, fileNode.Archived, progress));
        }
Exemplo n.º 2
0
 public string GetLocalFileName(Schema.File fileNode)
 {
     return(Path.GetFullPath(tangra3Path + "//" + (string.IsNullOrEmpty(fileNode.LocalPath) ? Path.GetFileName(fileNode.Path) : fileNode.LocalPath)));
 }
Exemplo n.º 3
0
 public string UpdateFile(Schema.File fileNode, IProgressUpdate progress)
 {
     return(UpdateFile(fileNode, null, progress));
 }