4using System.Threading.Tasks;
40 public ValueTask
ExtractToPath(
string path, CancellationToken cancellationToken)
Implementation of IEngineInstallationData for a zip file in a Stream.
ValueTask ExtractToPath(string path, CancellationToken cancellationToken)
Extracts the installation to a given path.A ValueTask representing the running operation.
readonly Stream zipStream
The Stream containing the zip data of the engine.
readonly IIOManager ioManager
The IIOManager for the ZipStreamEngineInstallationData.
ZipStreamEngineInstallationData(IIOManager ioManager, Stream zipStream)
Initializes a new instance of the ZipStreamEngineInstallationData class.
Wraps data containing an engine installation.
Interface for using filesystems.
ValueTask ZipToDirectory(string path, Stream zipFile, CancellationToken cancellationToken)
Extract a set of zipFile to a given path .