Table of Contents

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.EqualityContract
AtProtoRecord.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

record BlueskyRecord

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

record BlueskyRecord

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

record BlueskyRecord

The idunno.Bluesky.Record.BlueskyRecord to create the new instance from.

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

Methods

<Clone>$()

public override BlueskyRecord <Clone>$()

Returns

BlueskyRecord

<Clone>$()

public override BlueskyRecord <Clone>$()

Returns

BlueskyRecord

<Clone>$()

public override BlueskyRecord <Clone>$()

Returns

BlueskyRecord

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(AtProtoRecord?)

Determines whether the specified idunno.AtProto.Repo.AtProtoRecord is equal to the current instance.

public override sealed bool Equals(AtProtoRecord? other)

Parameters

other AtProtoRecord?

The idunno.AtProto.Repo.AtProtoRecord to compare against the current instance.

Returns

bool

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

Remarks

idunno.AtProto.Repo.AtProtoRecord.ExtensionData is compared by its contents rather than by reference.

Equals(BlueskyRecord?)

public virtual bool Equals(BlueskyRecord? other)

Parameters

other BlueskyRecord?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(AtProtoRecord?)

Determines whether the specified idunno.AtProto.Repo.AtProtoRecord is equal to the current instance.

public override sealed bool Equals(AtProtoRecord? other)

Parameters

other AtProtoRecord?

The idunno.AtProto.Repo.AtProtoRecord to compare against the current instance.

Returns

bool

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

Remarks

idunno.AtProto.Repo.AtProtoRecord.ExtensionData is compared by its contents rather than by reference.

Equals(BlueskyRecord?)

public virtual bool Equals(BlueskyRecord? other)

Parameters

other BlueskyRecord?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(AtProtoRecord?)

Determines whether the specified idunno.AtProto.Repo.AtProtoRecord is equal to the current instance.

public override sealed bool Equals(AtProtoRecord? other)

Parameters

other AtProtoRecord?

The idunno.AtProto.Repo.AtProtoRecord to compare against the current instance.

Returns

bool

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

Remarks

idunno.AtProto.Repo.AtProtoRecord.ExtensionData is compared by its contents rather than by reference.

Equals(BlueskyRecord?)

public virtual bool Equals(BlueskyRecord? other)

Parameters

other BlueskyRecord?

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

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

Parameters

left BlueskyRecord?
right BlueskyRecord?

Returns

bool

operator ==(BlueskyRecord?, BlueskyRecord?)

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

Parameters

left BlueskyRecord?
right BlueskyRecord?

Returns

bool

operator ==(BlueskyRecord?, BlueskyRecord?)

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

Parameters

left BlueskyRecord?
right BlueskyRecord?

Returns

bool

operator !=(BlueskyRecord?, BlueskyRecord?)

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

Parameters

left BlueskyRecord?
right BlueskyRecord?

Returns

bool

operator !=(BlueskyRecord?, BlueskyRecord?)

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

Parameters

left BlueskyRecord?
right BlueskyRecord?

Returns

bool

operator !=(BlueskyRecord?, BlueskyRecord?)

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

Parameters

left BlueskyRecord?
right BlueskyRecord?

Returns

bool