Table of Contents

Class IconContent

Namespace
Tharga.Team
Assembly
Tharga.Team.dll

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

Data byte[]

The raw image bytes.

ContentType string

The image MIME type (e.g. image/png).

Properties

ContentType

The image MIME type (e.g. image/png).

public string ContentType { get; init; }

Property Value

string

Data

The raw image bytes.

public byte[] Data { get; init; }

Property Value

byte[]