Пример #1
0
        public Task ImportFile(VirtualFile source, string targetDirectoryPath, Action <ProgressArgs> progressCallback, CancellationToken cancellationToken)
        {
            var targetDirectory = getDirectoryFromPath(targetDirectoryPath);

            return(source.CopyTo(targetDirectory, progressCallback, cancellationToken));
        }