兼容win7版应用
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
911 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace AIK.Service.IService
{
public interface IFileOperationService
{
Task ExtractSingleArchiveAsync(
string archivePath,
string destinationDir,
bool overwrite = true,
CancellationToken cancellationToken = default);
Task ExtractMultipleArchivesAsyncNotPoress(
IEnumerable<string> archivePaths,
string destinationDir,
bool overwrite = true,
CancellationToken cancellationToken = default);
Task ExtractMultipleArchivesAsync(
IReadOnlyList<string> archivePaths,
string destinationDir,
IProgress<double> progress,
bool overwrite = true,
CancellationToken cancellationToken = default);
}
}