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
| Signature | Description |
# ProfileFact() | |
Properties
| Property | Type | Description |
Exhaustive { get; init; } | bool | For 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; } | bool | The fact has a value (verified, derived or assumed). |
Note { get; init; } | string | Why the value is derived / unknown, conflicts between sources etc. |
Quote { get; init; } | string | Short 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; } | T | The value; default for ProfileFactStatus.Unknown. |
Methods
| Method Signature | Returns | Description |
# ToString() | string | |
static # Unknown(string? note = default) | ProfileFact<T> | An unknown fact. |