Added ToString overrides

This commit is contained in:
2023-08-27 01:21:23 +02:00
parent 6e1a0ab06c
commit bbd716383a
8 changed files with 42 additions and 3 deletions

View File

@ -35,8 +35,12 @@ public readonly struct Chapter
chNameStr = IllegalStrings.Replace(chNameStr, "");
this.fileName = $"{volStr}{chNumberStr}{chNameStr}";
}
public override string ToString()
{
return $"Chapter {parentPublication.sortName} {parentPublication.internalId} {chapterNumber} {name}";
}
/// <summary>
/// Checks if a chapter-archive is already present
/// </summary>