BookStamp
Pennington.Book.Composition
Provenance stamped into a composed book: the cover's version line and the colophon page. When no stamp is supplied to Compose, both are omitted.
Properties
GeneratedAtDateTimeOffset- Generation timestamp; the colophon prints it as month + year.
Localestring- Locale code driving the
langattribute, translation lookups, and date formatting; null means the default locale. Versionstring- Host site version (informational version with build metadata trimmed); null omits the version lines.
Constructors
BookStamp
#public BookStamp(string Version, DateTimeOffset GeneratedAt, string Locale)
Provenance stamped into a composed book: the cover's version line and the colophon page. When no stamp is supplied to Compose, both are omitted.
Parameters
Versionstring- Host site version (informational version with build metadata trimmed); null omits the version lines.
GeneratedAtDateTimeOffset- Generation timestamp; the colophon prints it as month + year.
Localestring- Locale code driving the
langattribute, translation lookups, and date formatting; null means the default locale.
Pennington.Book.Composition.BookStamp
namespace Pennington.Book.Composition;
/// Provenance stamped into a composed book: the cover's version line and the colophon page. When no stamp is supplied to Compose, both are omitted.
public record BookStamp
{
/// Provenance stamped into a composed book: the cover's version line and the colophon page. When no stamp is supplied to Compose, both are omitted.
public BookStamp(string Version, DateTimeOffset GeneratedAt, string Locale)
;
/// Generation timestamp; the colophon prints it as month + year.
public DateTimeOffset GeneratedAt { get; set; }
/// Locale code driving the lang attribute, translation lookups, and date formatting; null means the default locale.
public string Locale { get; set; }
/// Host site version (informational version with build metadata trimmed); null omits the version lines.
public string Version { get; set; }
}