Class StoredIconSource
Built-in IIconSource that serves an explicitly-set icon: when the subject has an IconReference, it resolves to that icon's serving-endpoint URL; otherwise null. Registered first, ahead of any consumer sources, so a platform-stored icon takes precedence.
public sealed class StoredIconSource : IIconSource
- Inheritance
-
StoredIconSource
- Implements
- Inherited Members
Methods
ResolveAsync(IconSubject, CancellationToken)
Resolve an image for subject, or null to defer to the next source.
public Task<IconImage> ResolveAsync(IconSubject subject, CancellationToken cancellationToken = default)
Parameters
subjectIconSubjectcancellationTokenCancellationToken