Table of Contents

Class Theme

Namespace
idunno.Bluesky.Embed.External.Source
Assembly
idunno.Bluesky.dll

The colour theme of the external source record.

[JsonPolymorphic(UnknownDerivedTypeHandling = JsonUnknownDerivedTypeHandling.FallBackToBaseType)]
[JsonDerivedType(typeof(Theme), "app.bsky.embed.external#viewExternalSourceTheme")]
public record Theme : IEquatable<Theme>

Inheritance

Implements

Inherited Members

Constructors

Theme(Theme)

protected Theme(Theme original)

Parameters

original Theme

Theme()

public Theme()

Theme(Theme)

protected Theme(Theme original)

Parameters

original Theme

Theme()

public Theme()

Theme(Theme)

protected Theme(Theme original)

Parameters

original Theme

Theme()

public Theme()

Properties

AccentForegroundRGB

Gets the accent foreground idunno.Bluesky.Embed.External.Source.ColorRgb.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public ColorRgb? AccentForegroundRGB { get; init; }

Property Value

ColorRgb?

AccentForegroundRGB

Gets the accent foreground idunno.Bluesky.Embed.External.Source.ColorRgb.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public ColorRgb? AccentForegroundRGB { get; init; }

Property Value

ColorRgb?

AccentForegroundRGB

Gets the accent foreground idunno.Bluesky.Embed.External.Source.ColorRgb.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public ColorRgb? AccentForegroundRGB { get; init; }

Property Value

ColorRgb?

AccentRGB

Gets the accent idunno.Bluesky.Embed.External.Source.ColorRgb.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public ColorRgb? AccentRGB { get; init; }

Property Value

ColorRgb?

AccentRGB

Gets the accent idunno.Bluesky.Embed.External.Source.ColorRgb.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public ColorRgb? AccentRGB { get; init; }

Property Value

ColorRgb?

AccentRGB

Gets the accent idunno.Bluesky.Embed.External.Source.ColorRgb.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public ColorRgb? AccentRGB { get; init; }

Property Value

ColorRgb?

BackgroundRGB

Gets the background idunno.Bluesky.Embed.External.Source.ColorRgb.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public ColorRgb? BackgroundRGB { get; init; }

Property Value

ColorRgb?

BackgroundRGB

Gets the background idunno.Bluesky.Embed.External.Source.ColorRgb.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public ColorRgb? BackgroundRGB { get; init; }

Property Value

ColorRgb?

BackgroundRGB

Gets the background idunno.Bluesky.Embed.External.Source.ColorRgb.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public ColorRgb? BackgroundRGB { get; init; }

Property Value

ColorRgb?

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

ForegroundRGB

Gets the foreground idunno.Bluesky.Embed.External.Source.ColorRgb.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public ColorRgb? ForegroundRGB { get; init; }

Property Value

ColorRgb?

ForegroundRGB

Gets the foreground idunno.Bluesky.Embed.External.Source.ColorRgb.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public ColorRgb? ForegroundRGB { get; init; }

Property Value

ColorRgb?

ForegroundRGB

Gets the foreground idunno.Bluesky.Embed.External.Source.ColorRgb.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public ColorRgb? ForegroundRGB { get; init; }

Property Value

ColorRgb?

Methods

<Clone>$()

public virtual Theme <Clone>$()

Returns

Theme

<Clone>$()

public virtual Theme <Clone>$()

Returns

Theme

<Clone>$()

public virtual Theme <Clone>$()

Returns

Theme

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(Theme?)

public virtual bool Equals(Theme? other)

Parameters

other Theme?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(Theme?)

public virtual bool Equals(Theme? other)

Parameters

other Theme?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(Theme?)

public virtual bool Equals(Theme? other)

Parameters

other Theme?

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

GetHashCode()

public override int GetHashCode()

Returns

int

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

ToString()

public override string ToString()

Returns

string

ToString()

public override string ToString()

Returns

string

Operators

operator ==(Theme?, Theme?)

public static bool operator ==(Theme? left, Theme? right)

Parameters

left Theme?
right Theme?

Returns

bool

operator ==(Theme?, Theme?)

public static bool operator ==(Theme? left, Theme? right)

Parameters

left Theme?
right Theme?

Returns

bool

operator ==(Theme?, Theme?)

public static bool operator ==(Theme? left, Theme? right)

Parameters

left Theme?
right Theme?

Returns

bool

operator !=(Theme?, Theme?)

public static bool operator !=(Theme? left, Theme? right)

Parameters

left Theme?
right Theme?

Returns

bool

operator !=(Theme?, Theme?)

public static bool operator !=(Theme? left, Theme? right)

Parameters

left Theme?
right Theme?

Returns

bool

operator !=(Theme?, Theme?)

public static bool operator !=(Theme? left, Theme? right)

Parameters

left Theme?
right Theme?

Returns

bool