Table of Contents

Class IconSubject

Namespace
Tharga.Team
Assembly
Tharga.Team.dll

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

string

EMail

The subject's email — used by user-icon sources such as Gravatar (Phase B).

public string EMail { get; init; }

Property Value

string

IconReference

The reference of an explicitly-set icon (from IIconStore), when one is set.

public string IconReference { get; init; }

Property Value

string

Key

public required string Key { get; init; }

Property Value

string

Kind

public required IconKind Kind { get; init; }

Property Value

IconKind

Name

Display name, used for the initials fallback.

public string Name { get; init; }

Property Value

string