moved fileName to Chapter for future checking if file exists.

This commit is contained in:
glax
2023-05-18 18:42:36 +02:00
parent 57c7f175d9
commit d191f5dfc7
2 changed files with 8 additions and 2 deletions

View File

@ -7,13 +7,16 @@ public struct Chapter
public string? volumeNumber { get; }
public string? chapterNumber { get; }
public string url { get; }
public string relativeFilePath { get; }
public Chapter(Publication publication, string? name, string? volumeNumber, string? chapterNumber, string url)
public Chapter(Publication publication, string? name, string? volumeNumber, string? chapterNumber, string url, string relativeFilePath)
{
this.publication = publication;
this.name = name;
this.volumeNumber = volumeNumber;
this.chapterNumber = chapterNumber;
this.url = url;
this.relativeFilePath = relativeFilePath;
}
}