Table of Contents

Class EmbeddedImages

Namespace
idunno.Bluesky.Embed
Assembly
idunno.Bluesky.dll

Represents embedded images in a post for.

public record EmbeddedImages : EmbeddedMediaBase, IEquatable<AtProtoRecord>, IEquatable<EmbeddedBase>, IEquatable<EmbeddedMediaBase>, IEquatable<EmbeddedImages>

Inheritance

AtProtoRecord

Implements

Inherited Members

AtProtoRecord.Equals(AtProtoRecord?)
AtProtoRecord.GetHashCode()
AtProtoRecord.ToString()
AtProtoRecord.PrintMembers(StringBuilder)
AtProtoRecord.Equals(object?)
AtProtoRecord.<Clone>$()
AtProtoRecord.EqualityContract
AtProtoRecord.ExtensionData

Constructors

EmbeddedImages(ICollection<EmbeddedImage>)

Creates a new instance of idunno.Bluesky.Embed.EmbeddedImages.

public EmbeddedImages(ICollection<EmbeddedImage> images)

Parameters

images ICollection<EmbeddedImage>

The images to embed in a post.

Exceptions

ArgumentNullException

Thrown when images is null.

ArgumentOutOfRangeException

Thrown when the images contains more than the maximum number of images for a post, or does not contain any images.

EmbeddedImages(EmbeddedImages)

protected EmbeddedImages(EmbeddedImages original)

Parameters

original EmbeddedImages

EmbeddedImages(ICollection<EmbeddedImage>)

Creates a new instance of idunno.Bluesky.Embed.EmbeddedImages.

public EmbeddedImages(ICollection<EmbeddedImage> images)

Parameters

images ICollection<EmbeddedImage>

The images to embed in a post.

Exceptions

ArgumentNullException

Thrown when images is null.

ArgumentOutOfRangeException

Thrown when the images contains more than the maximum number of images for a post, or does not contain any images.

EmbeddedImages(EmbeddedImages)

protected EmbeddedImages(EmbeddedImages original)

Parameters

original EmbeddedImages

EmbeddedImages(ICollection<EmbeddedImage>)

Creates a new instance of idunno.Bluesky.Embed.EmbeddedImages.

public EmbeddedImages(ICollection<EmbeddedImage> images)

Parameters

images ICollection<EmbeddedImage>

The images to embed in a post.

Exceptions

ArgumentNullException

Thrown when images is null.

ArgumentOutOfRangeException

Thrown when the images contains more than the maximum number of images for a post, or does not contain any images.

EmbeddedImages(EmbeddedImages)

protected EmbeddedImages(EmbeddedImages original)

Parameters

original EmbeddedImages

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Images

Gets the collection of images to embed.

[JsonInclude]
[JsonRequired]
public ICollection<EmbeddedImage> Images { get; init; }

Property Value

ICollection<EmbeddedImage>

Images

Gets the collection of images to embed.

[JsonInclude]
[JsonRequired]
public ICollection<EmbeddedImage> Images { get; init; }

Property Value

ICollection<EmbeddedImage>

Images

Gets the collection of images to embed.

[JsonInclude]
[JsonRequired]
public ICollection<EmbeddedImage> Images { get; init; }

Property Value

ICollection<EmbeddedImage>

Methods

<Clone>$()

public override EmbeddedImages <Clone>$()

Returns

EmbeddedImages

<Clone>$()

public override EmbeddedImages <Clone>$()

Returns

EmbeddedImages

<Clone>$()

public override EmbeddedImages <Clone>$()

Returns

EmbeddedImages

Equals(EmbeddedImages?)

Determines whether the specified idunno.Bluesky.Embed.EmbeddedImages is equal to the current instance.

public virtual bool Equals(EmbeddedImages? other)

Parameters

other EmbeddedImages?

The idunno.Bluesky.Embed.EmbeddedImages to compare against the current instance.

Returns

bool

true if other is equal to the current instance, otherwise false.

Remarks

idunno.Bluesky.Embed.EmbeddedImages.Images is compared by its contents rather than by reference.

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(EmbeddedMediaBase?)

public override sealed bool Equals(EmbeddedMediaBase? other)

Parameters

other EmbeddedMediaBase?

Returns

bool

Equals(EmbeddedImages?)

Determines whether the specified idunno.Bluesky.Embed.EmbeddedImages is equal to the current instance.

public virtual bool Equals(EmbeddedImages? other)

Parameters

other EmbeddedImages?

The idunno.Bluesky.Embed.EmbeddedImages to compare against the current instance.

Returns

bool

true if other is equal to the current instance, otherwise false.

Remarks

idunno.Bluesky.Embed.EmbeddedImages.Images is compared by its contents rather than by reference.

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(EmbeddedMediaBase?)

public override sealed bool Equals(EmbeddedMediaBase? other)

Parameters

other EmbeddedMediaBase?

Returns

bool

Equals(EmbeddedImages?)

Determines whether the specified idunno.Bluesky.Embed.EmbeddedImages is equal to the current instance.

public virtual bool Equals(EmbeddedImages? other)

Parameters

other EmbeddedImages?

The idunno.Bluesky.Embed.EmbeddedImages to compare against the current instance.

Returns

bool

true if other is equal to the current instance, otherwise false.

Remarks

idunno.Bluesky.Embed.EmbeddedImages.Images is compared by its contents rather than by reference.

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(EmbeddedMediaBase?)

public override sealed bool Equals(EmbeddedMediaBase? other)

Parameters

other EmbeddedMediaBase?

Returns

bool

GetHashCode()

Returns the hash code for the current instance.

public override int GetHashCode()

Returns

int

The hash code for the current instance.

GetHashCode()

Returns the hash code for the current instance.

public override int GetHashCode()

Returns

int

The hash code for the current instance.

GetHashCode()

Returns the hash code for the current instance.

public override int GetHashCode()

Returns

int

The hash code for the current instance.

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

PrintMembers(StringBuilder)

protected override 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 ==(EmbeddedImages?, EmbeddedImages?)

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

Parameters

left EmbeddedImages?
right EmbeddedImages?

Returns

bool

operator ==(EmbeddedImages?, EmbeddedImages?)

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

Parameters

left EmbeddedImages?
right EmbeddedImages?

Returns

bool

operator ==(EmbeddedImages?, EmbeddedImages?)

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

Parameters

left EmbeddedImages?
right EmbeddedImages?

Returns

bool

operator !=(EmbeddedImages?, EmbeddedImages?)

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

Parameters

left EmbeddedImages?
right EmbeddedImages?

Returns

bool

operator !=(EmbeddedImages?, EmbeddedImages?)

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

Parameters

left EmbeddedImages?
right EmbeddedImages?

Returns

bool

operator !=(EmbeddedImages?, EmbeddedImages?)

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

Parameters

left EmbeddedImages?
right EmbeddedImages?

Returns

bool