zplCore.comzplCore.com
class10 members

ProfileFact<T>

public sealed class ProfileFact<T>

One field of a PrinterProfile with its provenance: value, status, the ids of the sources in PrinterProfile.Sources and a short supporting quote. Unknown facts have no value.

Constructors

SignatureDescription
# ProfileFact()

Properties

PropertyTypeDescription
Exhaustive { get; init; }boolFor lists: false when the source names only part of the items (e.g. "16 bitmap fonts" but only A–H and GS are named). Checks then report items outside the list as "not confirmed" instead of "missing".
IsKnown { get; }boolThe fact has a value (verified, derived or assumed).
Note { get; init; }stringWhy the value is derived / unknown, conflicts between sources etc.
Quote { get; init; }stringShort verbatim snippet from the source (a few words, for review).
Sources { get; init; }IReadOnlyList<string>Ids of PrinterProfile.Sources that back the value.
Status { get; init; }ProfileFactStatus
Value { get; init; }TThe value; default for ProfileFactStatus.Unknown.

Methods

Method SignatureReturnsDescription
# ToString()string
static # Unknown(string? note = default)ProfileFact<T>An unknown fact.