Class BlueskyRecord
- Namespace
- idunno.Bluesky.Record
- Assembly
- idunno.Bluesky.dll
Base record for common Bluesky record values
[JsonPolymorphic(IgnoreUnrecognizedTypeDiscriminators = true, UnknownDerivedTypeHandling = JsonUnknownDerivedTypeHandling.FallBackToNearestAncestor)]
[JsonDerivedType(typeof(Post), "app.bsky.feed.post")]
[JsonDerivedType(typeof(Follow), "app.bsky.graph.follow")]
[JsonDerivedType(typeof(Repost), "app.bsky.feed.repost")]
[JsonDerivedType(typeof(Like), "app.bsky.feed.like")]
[JsonDerivedType(typeof(Block), "app.bsky.graph.block")]
[JsonDerivedType(typeof(Profile), "app.bsky.actor.profile")]
[JsonDerivedType(typeof(StarterPack), "app.bsky.graph.starterpack")]
[JsonDerivedType(typeof(Service), "app.bsky.labeler.service")]
[JsonDerivedType(typeof(Verification), "app.bsky.graph.verification")]
[JsonDerivedType(typeof(List), "app.bsky.graph.list")]
[JsonDerivedType(typeof(ListItem), "app.bsky.graph.listitem")]
[JsonDerivedType(typeof(Declaration), "app.bsky.notification.declaration")]
[JsonDerivedType(typeof(Status), "app.bsky.actor.status")]
[JsonDerivedType(typeof(ReferenceListOptOut), "app.bsky.graph.referencelistoptout")]
[JsonDerivedType(typeof(ListBlock), "app.bsky.graph.listblock")]
[JsonDerivedType(typeof(ContentVisibilityDeclaration), "app.bsky.actor.contentVisibilityDeclaration")]
public record BlueskyRecord : AtProtoRecord, IEquatable<AtProtoRecord>, IEquatable<BlueskyRecord>Inheritance
-
AtProtoRecord
Derived
Implements
Inherited Members
-
AtProtoRecord.Equals(AtProtoRecord?)AtProtoRecord.GetHashCode()AtProtoRecord.ToString()AtProtoRecord.PrintMembers(StringBuilder)AtProtoRecord.Equals(object?)AtProtoRecord.<Clone>$()AtProtoRecord.EqualityContractAtProtoRecord.ExtensionData
Constructors
BlueskyRecord()
Creates a new instance of idunno.Bluesky.Record.BlueskyRecord.
public BlueskyRecord()BlueskyRecord(BlueskyRecord)
Creates a new instance of idunno.Bluesky.Record.BlueskyRecord from the specified record.
public BlueskyRecord(BlueskyRecord record)Parameters
recordBlueskyRecord-
The idunno.Bluesky.Record.BlueskyRecord to create the new instance from.
BlueskyRecord()
Creates a new instance of idunno.Bluesky.Record.BlueskyRecord.
public BlueskyRecord()BlueskyRecord(BlueskyRecord)
Creates a new instance of idunno.Bluesky.Record.BlueskyRecord from the specified record.
public BlueskyRecord(BlueskyRecord record)Parameters
recordBlueskyRecord-
The idunno.Bluesky.Record.BlueskyRecord to create the new instance from.
BlueskyRecord()
Creates a new instance of idunno.Bluesky.Record.BlueskyRecord.
public BlueskyRecord()BlueskyRecord(BlueskyRecord)
Creates a new instance of idunno.Bluesky.Record.BlueskyRecord from the specified record.
public BlueskyRecord(BlueskyRecord record)Parameters
recordBlueskyRecord-
The idunno.Bluesky.Record.BlueskyRecord to create the new instance from.
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
Methods
<Clone>$()
public override BlueskyRecord <Clone>$()Returns
<Clone>$()
public override BlueskyRecord <Clone>$()Returns
<Clone>$()
public override BlueskyRecord <Clone>$()Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(AtProtoRecord?)
Determines whether the specified idunno.AtProto.Repo.AtProtoRecord is equal to the current instance.
public override sealed bool Equals(AtProtoRecord? other)Parameters
otherAtProtoRecord?-
The idunno.AtProto.Repo.AtProtoRecord to compare against the current instance.
Returns
Remarks
idunno.AtProto.Repo.AtProtoRecord.ExtensionData is compared by its contents rather than by reference.
Equals(BlueskyRecord?)
public virtual bool Equals(BlueskyRecord? other)Parameters
otherBlueskyRecord?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(AtProtoRecord?)
Determines whether the specified idunno.AtProto.Repo.AtProtoRecord is equal to the current instance.
public override sealed bool Equals(AtProtoRecord? other)Parameters
otherAtProtoRecord?-
The idunno.AtProto.Repo.AtProtoRecord to compare against the current instance.
Returns
Remarks
idunno.AtProto.Repo.AtProtoRecord.ExtensionData is compared by its contents rather than by reference.
Equals(BlueskyRecord?)
public virtual bool Equals(BlueskyRecord? other)Parameters
otherBlueskyRecord?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(AtProtoRecord?)
Determines whether the specified idunno.AtProto.Repo.AtProtoRecord is equal to the current instance.
public override sealed bool Equals(AtProtoRecord? other)Parameters
otherAtProtoRecord?-
The idunno.AtProto.Repo.AtProtoRecord to compare against the current instance.
Returns
Remarks
idunno.AtProto.Repo.AtProtoRecord.ExtensionData is compared by its contents rather than by reference.
Equals(BlueskyRecord?)
public virtual bool Equals(BlueskyRecord? other)Parameters
otherBlueskyRecord?
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 ==(BlueskyRecord?, BlueskyRecord?)
public static bool operator ==(BlueskyRecord? left, BlueskyRecord? right)Parameters
leftBlueskyRecord?rightBlueskyRecord?
Returns
operator ==(BlueskyRecord?, BlueskyRecord?)
public static bool operator ==(BlueskyRecord? left, BlueskyRecord? right)Parameters
leftBlueskyRecord?rightBlueskyRecord?
Returns
operator ==(BlueskyRecord?, BlueskyRecord?)
public static bool operator ==(BlueskyRecord? left, BlueskyRecord? right)Parameters
leftBlueskyRecord?rightBlueskyRecord?
Returns
operator !=(BlueskyRecord?, BlueskyRecord?)
public static bool operator !=(BlueskyRecord? left, BlueskyRecord? right)Parameters
leftBlueskyRecord?rightBlueskyRecord?
Returns
operator !=(BlueskyRecord?, BlueskyRecord?)
public static bool operator !=(BlueskyRecord? left, BlueskyRecord? right)Parameters
leftBlueskyRecord?rightBlueskyRecord?
Returns
operator !=(BlueskyRecord?, BlueskyRecord?)
public static bool operator !=(BlueskyRecord? left, BlueskyRecord? right)Parameters
leftBlueskyRecord?rightBlueskyRecord?