OutlineEntry
classNamespace: MyLittleContentEngine.Models
A Table of Contents entry.
Declaration
public record OutlineEntry
Inheritance
object
→ OutlineEntry
Implements
System.IEquatable<MyLittleContentEngine.Models.OutlineEntry>
Methods
.ctor
methodpublic void .ctor(string Title, string Id, OutlineEntry[] Children)
A Table of Contents entry.
Returns:
void
Title string | The title. |
Id string | The id of the header. |
Children OutlineEntry[] | Any children of the entry |
Propertys
Children
propertypublic OutlineEntry[] Children { get; init; }
Any children of the entry
Returns:
OutlineEntry[] OutlineEntry.Children
Id
propertypublic string Id { get; init; }
The id of the header.
Returns:
string OutlineEntry.Id
Title
propertypublic string Title { get; init; }
The title.
Returns:
string OutlineEntry.Title