OutlineEntry

class

Namespace: MyLittleContentEngine.Models

A Table of Contents entry.

Declaration

public record OutlineEntry

Inheritance

objectOutlineEntry

Implements

  • System.IEquatable<MyLittleContentEngine.Models.OutlineEntry>

Methods

.ctor

method
public void .ctor(string Title, string Id, OutlineEntry[] Children)
A Table of Contents entry.
Returns: void
Title stringThe title.
Id stringThe id of the header.
Children OutlineEntry[]Any children of the entry

Propertys

Children

property
public OutlineEntry[] Children { get; init; }
Any children of the entry
Returns: OutlineEntry[] OutlineEntry.Children

Id

property
public string Id { get; init; }
The id of the header.
Returns: string OutlineEntry.Id

Title

property
public string Title { get; init; }
The title.
Returns: string OutlineEntry.Title