PageToGenerate

class

Namespace: MyLittleContentEngine.Models

A page that will be generated during a static build.

Declaration

public record PageToGenerate

Inheritance

objectPageToGenerate

Implements

  • System.IEquatable<MyLittleContentEngine.Models.PageToGenerate>

Methods

.ctor

method
public void .ctor(string Url, string OutputFile, Metadata? Metadata)
A page that will be generated during a static build.
Returns: void
Url stringThe URL pointing to the page.
OutputFile stringThe relative path of the output file.
Metadata Metadata?Additional file properties.

Propertys

Metadata

property
public Metadata? Metadata { get; init; }
Additional file properties.
Returns: Metadata? PageToGenerate.Metadata

OutputFile

property
public string OutputFile { get; init; }
The relative path of the output file.
Returns: string PageToGenerate.OutputFile

Url

property
public string Url { get; init; }
The URL pointing to the page.
Returns: string PageToGenerate.Url