Class TrackExtractResult
Represents the result of extracting a single track from a CD/GD-ROM CHD image.
public sealed record TrackExtractResult : IEquatable<TrackExtractResult>
- Inheritance
-
TrackExtractResult
- Implements
- Inherited Members
Constructors
TrackExtractResult(int, string?, ChdError)
Creates a new TrackExtractResult with the given track number, file path, and error code.
public TrackExtractResult(int trackNumber, string? filePath, ChdError error)
Parameters
Properties
Error
The error code for this track. Chderrnone on success.
public ChdError Error { get; init; }
Property Value
FilePath
Path to the extracted track file, or null if extraction failed.
public string? FilePath { get; init; }
Property Value
IsSuccess
true if this track was extracted successfully (Error is
Chderrnone).
public bool IsSuccess { get; }
Property Value
TrackNumber
1-based track number.
public int TrackNumber { get; init; }