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.EqualityContractAtProtoRecord.ExtensionData
Constructors
EmbeddedRecordWithMedia(EmbeddedRecord, EmbeddedMediaBase)
Creates a new idunno.Bluesky.Embed.EmbeddedRecordWithMedia
[JsonConstructor]
public EmbeddedRecordWithMedia(EmbeddedRecord record, EmbeddedMediaBase media)Parameters
recordEmbeddedRecord-
The embedded record.
mediaEmbeddedMediaBase-
The media in the record.
Exceptions
- ArgumentNullException
-
Thrown when
recordormediais null.
EmbeddedRecordWithMedia(EmbeddedRecordWithMedia)
protected EmbeddedRecordWithMedia(EmbeddedRecordWithMedia original)Parameters
originalEmbeddedRecordWithMedia
EmbeddedRecordWithMedia(EmbeddedRecord, EmbeddedMediaBase)
Creates a new idunno.Bluesky.Embed.EmbeddedRecordWithMedia
[JsonConstructor]
public EmbeddedRecordWithMedia(EmbeddedRecord record, EmbeddedMediaBase media)Parameters
recordEmbeddedRecord-
The embedded record.
mediaEmbeddedMediaBase-
The media in the record.
Exceptions
- ArgumentNullException
-
Thrown when
recordormediais null.
EmbeddedRecordWithMedia(EmbeddedRecordWithMedia)
protected EmbeddedRecordWithMedia(EmbeddedRecordWithMedia original)Parameters
originalEmbeddedRecordWithMedia
EmbeddedRecordWithMedia(EmbeddedRecord, EmbeddedMediaBase)
Creates a new idunno.Bluesky.Embed.EmbeddedRecordWithMedia
[JsonConstructor]
public EmbeddedRecordWithMedia(EmbeddedRecord record, EmbeddedMediaBase media)Parameters
recordEmbeddedRecord-
The embedded record.
mediaEmbeddedMediaBase-
The media in the record.
Exceptions
- ArgumentNullException
-
Thrown when
recordormediais null.
EmbeddedRecordWithMedia(EmbeddedRecordWithMedia)
protected EmbeddedRecordWithMedia(EmbeddedRecordWithMedia original)Parameters
originalEmbeddedRecordWithMedia
Properties
EqualityContract
protected override Type EqualityContract { get; }Property Value
EqualityContract
protected override Type EqualityContract { get; }Property Value
EqualityContract
protected override Type EqualityContract { get; }Property Value
Media
Gets the media in the record.
[JsonInclude]
public EmbeddedMediaBase Media { get; init; }Property Value
Media
Gets the media in the record.
[JsonInclude]
public EmbeddedMediaBase Media { get; init; }Property Value
Media
Gets the media in the record.
[JsonInclude]
public EmbeddedMediaBase Media { get; init; }Property Value
Record
Gets the record to embed.
[JsonInclude]
public EmbeddedRecord Record { get; init; }Property Value
Record
Gets the record to embed.
[JsonInclude]
public EmbeddedRecord Record { get; init; }Property Value
Record
Gets the record to embed.
[JsonInclude]
public EmbeddedRecord Record { get; init; }Property Value
Methods
<Clone>$()
public override EmbeddedRecordWithMedia <Clone>$()Returns
<Clone>$()
public override EmbeddedRecordWithMedia <Clone>$()Returns
<Clone>$()
public override EmbeddedRecordWithMedia <Clone>$()Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(EmbeddedMediaBase?)
public override sealed bool Equals(EmbeddedMediaBase? other)Parameters
otherEmbeddedMediaBase?
Returns
Equals(EmbeddedRecordWithMedia?)
public virtual bool Equals(EmbeddedRecordWithMedia? other)Parameters
otherEmbeddedRecordWithMedia?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(EmbeddedMediaBase?)
public override sealed bool Equals(EmbeddedMediaBase? other)Parameters
otherEmbeddedMediaBase?
Returns
Equals(EmbeddedRecordWithMedia?)
public virtual bool Equals(EmbeddedRecordWithMedia? other)Parameters
otherEmbeddedRecordWithMedia?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(EmbeddedMediaBase?)
public override sealed bool Equals(EmbeddedMediaBase? other)Parameters
otherEmbeddedMediaBase?
Returns
Equals(EmbeddedRecordWithMedia?)
public virtual bool Equals(EmbeddedRecordWithMedia? other)Parameters
otherEmbeddedRecordWithMedia?
Returns
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
builderStringBuilder
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)Parameters
builderStringBuilder
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()Returns
ToString()
public override string ToString()Returns
ToString()
public override string ToString()Returns
Operators
operator ==(EmbeddedRecordWithMedia?, EmbeddedRecordWithMedia?)
public static bool operator ==(EmbeddedRecordWithMedia? left, EmbeddedRecordWithMedia? right)Parameters
leftEmbeddedRecordWithMedia?rightEmbeddedRecordWithMedia?
Returns
operator ==(EmbeddedRecordWithMedia?, EmbeddedRecordWithMedia?)
public static bool operator ==(EmbeddedRecordWithMedia? left, EmbeddedRecordWithMedia? right)Parameters
leftEmbeddedRecordWithMedia?rightEmbeddedRecordWithMedia?
Returns
operator ==(EmbeddedRecordWithMedia?, EmbeddedRecordWithMedia?)
public static bool operator ==(EmbeddedRecordWithMedia? left, EmbeddedRecordWithMedia? right)Parameters
leftEmbeddedRecordWithMedia?rightEmbeddedRecordWithMedia?
Returns
operator !=(EmbeddedRecordWithMedia?, EmbeddedRecordWithMedia?)
public static bool operator !=(EmbeddedRecordWithMedia? left, EmbeddedRecordWithMedia? right)Parameters
leftEmbeddedRecordWithMedia?rightEmbeddedRecordWithMedia?
Returns
operator !=(EmbeddedRecordWithMedia?, EmbeddedRecordWithMedia?)
public static bool operator !=(EmbeddedRecordWithMedia? left, EmbeddedRecordWithMedia? right)Parameters
leftEmbeddedRecordWithMedia?rightEmbeddedRecordWithMedia?
Returns
operator !=(EmbeddedRecordWithMedia?, EmbeddedRecordWithMedia?)
public static bool operator !=(EmbeddedRecordWithMedia? left, EmbeddedRecordWithMedia? right)Parameters
leftEmbeddedRecordWithMedia?rightEmbeddedRecordWithMedia?