Class EpubRemoteContentFile
The base class for a remote content file outside of the EPUB archive (e.g., an HTML file or an image). Unlike EpubRemoteContentFileRef, the classes derived from this base class contain the whole content of the file.
Inheritance
EpubRemoteContentFile
Inherited Members
Namespace: VersOne.Epub
Assembly: VersOne.Epub.dll
Syntax
public abstract class EpubRemoteContentFile : EpubContentFile
Constructors
View SourceEpubRemoteContentFile(string, EpubContentType, string)
Initializes a new instance of the EpubRemoteContentFile class.
Declaration
protected EpubRemoteContentFile(string key, EpubContentType contentType, string contentMimeType)
Parameters
Type | Name | Description |
---|---|---|
string | key | The content file key as it is declared in the EPUB manifest (in the Href property). |
EpubContentType | contentType | The type of the content of the file. |
string | contentMimeType | The MIME type of the content of the file. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | The |
Properties
View SourceContentLocation
Gets the location of the content file which is always REMOTE for remote content files.
Declaration
public override EpubContentLocation ContentLocation { get; }
Property type: EpubContentLocation
Overrides
View SourceUrl
Gets the absolute URI of the remote content file (as it is specified in the EPUB manifest).
Declaration
public string Url { get; }