|
|
namespace VersOne.Epub |
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
public class EpubContentRef |
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public EpubContentRef(EpubLocalByteContentFileRef? cover = null, EpubLocalTextContentFileRef? navigationHtmlFile = null, |
|
|
EpubContentCollectionRef<EpubLocalTextContentFileRef, EpubRemoteTextContentFileRef>? html = null, |
|
|
EpubContentCollectionRef<EpubLocalTextContentFileRef, EpubRemoteTextContentFileRef>? css = null, |
|
|
EpubContentCollectionRef<EpubLocalByteContentFileRef, EpubRemoteByteContentFileRef>? images = null, |
|
|
EpubContentCollectionRef<EpubLocalByteContentFileRef, EpubRemoteByteContentFileRef>? fonts = null, |
|
|
EpubContentCollectionRef<EpubLocalByteContentFileRef, EpubRemoteByteContentFileRef>? audio = null, |
|
|
EpubContentCollectionRef<EpubLocalContentFileRef, EpubRemoteContentFileRef>? allFiles = null) |
|
|
{ |
|
|
Cover = cover; |
|
|
NavigationHtmlFile = navigationHtmlFile; |
|
|
Html = html ?? new EpubContentCollectionRef<EpubLocalTextContentFileRef, EpubRemoteTextContentFileRef>(); |
|
|
Css = css ?? new EpubContentCollectionRef<EpubLocalTextContentFileRef, EpubRemoteTextContentFileRef>(); |
|
|
Images = images ?? new EpubContentCollectionRef<EpubLocalByteContentFileRef, EpubRemoteByteContentFileRef>(); |
|
|
Fonts = fonts ?? new EpubContentCollectionRef<EpubLocalByteContentFileRef, EpubRemoteByteContentFileRef>(); |
|
|
Audio = audio ?? new EpubContentCollectionRef<EpubLocalByteContentFileRef, EpubRemoteByteContentFileRef>(); |
|
|
AllFiles = allFiles ?? new EpubContentCollectionRef<EpubLocalContentFileRef, EpubRemoteContentFileRef>(); |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public EpubLocalByteContentFileRef? Cover { get; } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public EpubLocalTextContentFileRef? NavigationHtmlFile { get; } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public EpubContentCollectionRef<EpubLocalTextContentFileRef, EpubRemoteTextContentFileRef> Html { get; } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public EpubContentCollectionRef<EpubLocalTextContentFileRef, EpubRemoteTextContentFileRef> Css { get; } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public EpubContentCollectionRef<EpubLocalByteContentFileRef, EpubRemoteByteContentFileRef> Images { get; } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public EpubContentCollectionRef<EpubLocalByteContentFileRef, EpubRemoteByteContentFileRef> Fonts { get; } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public EpubContentCollectionRef<EpubLocalByteContentFileRef, EpubRemoteByteContentFileRef> Audio { get; } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public EpubContentCollectionRef<EpubLocalContentFileRef, EpubRemoteContentFileRef> AllFiles { get; } |
|
|
} |
|
|
} |
|
|
|