Table of Contents

Class EmbeddedRecordWithMedia

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

An embedded record with media.

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

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

EmbeddedRecordWithMedia(EmbeddedRecord, EmbeddedMediaBase)

Creates a new idunno.Bluesky.Embed.EmbeddedRecordWithMedia

[JsonConstructor]
public EmbeddedRecordWithMedia(EmbeddedRecord record, EmbeddedMediaBase media)

Parameters

record EmbeddedRecord

The embedded record.

media EmbeddedMediaBase

The media in the record.

Exceptions

ArgumentNullException

Thrown when record or media is null.

EmbeddedRecordWithMedia(EmbeddedRecordWithMedia)

protected EmbeddedRecordWithMedia(EmbeddedRecordWithMedia original)

Parameters

original EmbeddedRecordWithMedia

EmbeddedRecordWithMedia(EmbeddedRecord, EmbeddedMediaBase)

Creates a new idunno.Bluesky.Embed.EmbeddedRecordWithMedia

[JsonConstructor]
public EmbeddedRecordWithMedia(EmbeddedRecord record, EmbeddedMediaBase media)

Parameters

record EmbeddedRecord

The embedded record.

media EmbeddedMediaBase

The media in the record.

Exceptions

ArgumentNullException

Thrown when record or media is null.

EmbeddedRecordWithMedia(EmbeddedRecordWithMedia)

protected EmbeddedRecordWithMedia(EmbeddedRecordWithMedia original)

Parameters

original EmbeddedRecordWithMedia

EmbeddedRecordWithMedia(EmbeddedRecord, EmbeddedMediaBase)

Creates a new idunno.Bluesky.Embed.EmbeddedRecordWithMedia

[JsonConstructor]
public EmbeddedRecordWithMedia(EmbeddedRecord record, EmbeddedMediaBase media)

Parameters

record EmbeddedRecord

The embedded record.

media EmbeddedMediaBase

The media in the record.

Exceptions

ArgumentNullException

Thrown when record or media is null.

EmbeddedRecordWithMedia(EmbeddedRecordWithMedia)

protected EmbeddedRecordWithMedia(EmbeddedRecordWithMedia original)

Parameters

original EmbeddedRecordWithMedia

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

Media

Gets the media in the record.

[JsonInclude]
public EmbeddedMediaBase Media { get; init; }

Property Value

EmbeddedMediaBase

Media

Gets the media in the record.

[JsonInclude]
public EmbeddedMediaBase Media { get; init; }

Property Value

EmbeddedMediaBase

Media

Gets the media in the record.

[JsonInclude]
public EmbeddedMediaBase Media { get; init; }

Property Value

EmbeddedMediaBase

Record

Gets the record to embed.

[JsonInclude]
public EmbeddedRecord Record { get; init; }

Property Value

EmbeddedRecord

Record

Gets the record to embed.

[JsonInclude]
public EmbeddedRecord Record { get; init; }

Property Value

EmbeddedRecord

Record

Gets the record to embed.

[JsonInclude]
public EmbeddedRecord Record { get; init; }

Property Value

EmbeddedRecord

Methods

<Clone>$()

public override EmbeddedRecordWithMedia <Clone>$()

Returns

EmbeddedRecordWithMedia

<Clone>$()

public override EmbeddedRecordWithMedia <Clone>$()

Returns

EmbeddedRecordWithMedia

<Clone>$()

public override EmbeddedRecordWithMedia <Clone>$()

Returns

EmbeddedRecordWithMedia

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(EmbeddedRecordWithMedia?)

public virtual bool Equals(EmbeddedRecordWithMedia? other)

Parameters

other EmbeddedRecordWithMedia?

Returns

bool

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(EmbeddedRecordWithMedia?)

public virtual bool Equals(EmbeddedRecordWithMedia? other)

Parameters

other EmbeddedRecordWithMedia?

Returns

bool

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(EmbeddedRecordWithMedia?)

public virtual bool Equals(EmbeddedRecordWithMedia? other)

Parameters

other EmbeddedRecordWithMedia?

Returns

bool

GetHashCode()

Returns the hash code for the current instance.

public override int GetHashCode()

Returns

int

The hash code for the current instance.

Remarks

The hash code is derived from the keys of idunno.AtProto.Repo.AtProtoRecord.ExtensionData rather than from its identity.

GetHashCode()

Returns the hash code for the current instance.

public override int GetHashCode()

Returns

int

The hash code for the current instance.

Remarks

The hash code is derived from the keys of idunno.AtProto.Repo.AtProtoRecord.ExtensionData rather than from its identity.

GetHashCode()

Returns the hash code for the current instance.

public override int GetHashCode()

Returns

int

The hash code for the current instance.

Remarks

The hash code is derived from the keys of idunno.AtProto.Repo.AtProtoRecord.ExtensionData rather than from its identity.

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 ==(EmbeddedRecordWithMedia?, EmbeddedRecordWithMedia?)

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

Parameters

left EmbeddedRecordWithMedia?
right EmbeddedRecordWithMedia?

Returns

bool

operator ==(EmbeddedRecordWithMedia?, EmbeddedRecordWithMedia?)

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

Parameters

left EmbeddedRecordWithMedia?
right EmbeddedRecordWithMedia?

Returns

bool

operator ==(EmbeddedRecordWithMedia?, EmbeddedRecordWithMedia?)

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

Parameters

left EmbeddedRecordWithMedia?
right EmbeddedRecordWithMedia?

Returns

bool

operator !=(EmbeddedRecordWithMedia?, EmbeddedRecordWithMedia?)

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

Parameters

left EmbeddedRecordWithMedia?
right EmbeddedRecordWithMedia?

Returns

bool

operator !=(EmbeddedRecordWithMedia?, EmbeddedRecordWithMedia?)

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

Parameters

left EmbeddedRecordWithMedia?
right EmbeddedRecordWithMedia?

Returns

bool

operator !=(EmbeddedRecordWithMedia?, EmbeddedRecordWithMedia?)

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

Parameters

left EmbeddedRecordWithMedia?
right EmbeddedRecordWithMedia?

Returns

bool