ICmtDataReader
- Namespace:
PPDS.Migration.Formats - Assembly:
PPDS.Migration - Kind: Interface
Summary
Interface for reading CMT data files.
Members
Methods
ReadAsync
Task<MigrationData> ReadAsync(Stream stream, IProgressReporter progress, CancellationToken cancellationToken)
Reads migration data from a stream.
-
Param
stream: The stream containing the ZIP file. -
Param
progress: Optional progress reporter. -
Param
cancellationToken: Cancellation token. -
Returns: The parsed migration data.
ReadAsync
Task<MigrationData> ReadAsync(string path, IProgressReporter progress, CancellationToken cancellationToken)
Reads migration data from a ZIP file.
-
Param
path: The path to the data.zip file. -
Param
progress: Optional progress reporter. -
Param
cancellationToken: Cancellation token. -
Returns: The parsed migration data.