epuBear SDK (MAUI)
 
Loading...
Searching...
No Matches
epuBear.SDK.ContentsTree Class Reference

This class contains the table of content (ToC) of the book in tree an array forms. More...

Classes

class  Node
 Node represents a node in a ToC tree. More...
 

Public Member Functions

Node GetNode (string key)
 This method returns a node with a specific key.
 
Node AddNode (string key, Node parent, string value)
 This method adds a new node to the parent, or to the top-level list of nodes.
 

Properties

List< NodeNodes [get]
 This getter returns the list of top-level nodes in ToC.
 

Detailed Description

This class contains the table of content (ToC) of the book in tree an array forms.

ToC is loaded from EPUB metadata.

Member Function Documentation

◆ AddNode()

Node epuBear.SDK.ContentsTree.AddNode ( string  key,
Node  parent,
string  value 
)

This method adds a new node to the parent, or to the top-level list of nodes.

Parameters
key
parent
value
Returns

◆ GetNode()

Node epuBear.SDK.ContentsTree.GetNode ( string  key)

This method returns a node with a specific key.

Parameters
key
Returns

The documentation for this class was generated from the following file: