Class IconContent
The bytes and content type of a stored icon, as returned by LoadAsync(string, CancellationToken).
public sealed record IconContent : IEquatable<IconContent>
- Inheritance
-
IconContent
- Implements
- Inherited Members
Constructors
IconContent(byte[], string)
The bytes and content type of a stored icon, as returned by LoadAsync(string, CancellationToken).
public IconContent(byte[] Data, string ContentType)
Parameters
Properties
ContentType
The image MIME type (e.g. image/png).
public string ContentType { get; init; }
Property Value
Data
The raw image bytes.
public byte[] Data { get; init; }
Property Value
- byte[]