PageToGenerate
classNamespace: MyLittleContentEngine.Models
A page that will be generated during a static build.
Declaration
public record PageToGenerate
Inheritance
object
→ PageToGenerate
Implements
System.IEquatable<MyLittleContentEngine.Models.PageToGenerate>
Methods
.ctor
methodpublic void .ctor(string Url, string OutputFile, Metadata? Metadata)
A page that will be generated during a static build.
Returns:
void
Url string | The URL pointing to the page. |
OutputFile string | The relative path of the output file. |
Metadata Metadata? | Additional file properties. |
Propertys
Metadata
propertypublic Metadata? Metadata { get; init; }
Additional file properties.
Returns:
Metadata? PageToGenerate.Metadata
OutputFile
propertypublic string OutputFile { get; init; }
The relative path of the output file.
Returns:
string PageToGenerate.OutputFile
Url
propertypublic string Url { get; init; }
The URL pointing to the page.
Returns:
string PageToGenerate.Url