Class IconSubject
The thing an icon is being resolved for, passed to each IIconSource. Carries what a source might key off: the kind and key, a display name (for an initials fallback), any explicitly-set icon reference, and — for user icons (Phase B) — the email and directory id.
public sealed record IconSubject : IEquatable<IconSubject>
- Inheritance
-
IconSubject
- Implements
- Inherited Members
Properties
DirectoryId
The subject's external-directory id — used by the Entra-photo source (Phase B).
public string DirectoryId { get; init; }
Property Value
The subject's email — used by user-icon sources such as Gravatar (Phase B).
public string EMail { get; init; }
Property Value
IconReference
The reference of an explicitly-set icon (from IIconStore), when one is set.
public string IconReference { get; init; }
Property Value
Key
public required string Key { get; init; }
Property Value
Kind
public required IconKind Kind { get; init; }
Property Value
Name
Display name, used for the initials fallback.
public string Name { get; init; }