Table of Contents

Class JoinLink

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

Encapsulates a join link embedded in a group chat.

[JsonPolymorphic(IgnoreUnrecognizedTypeDiscriminators = true, UnknownDerivedTypeHandling = JsonUnknownDerivedTypeHandling.FailSerialization)]
[JsonDerivedType(typeof(JoinLink), "chat.bsky.embed.joinLink")]
public record JoinLink : EmbeddedBase, IEquatable<AtProtoRecord>, IEquatable<EmbeddedBase>, IEquatable<JoinLink>

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

Creates a new instance of the idunno.Bluesky.Chat.Embed.JoinLink class.

[JsonConstructor]
public JoinLink(string code)

Parameters

code string

The join link code.

Exceptions

ArgumentNullException

Thrown when code is null.

protected JoinLink(JoinLink original)

Parameters

original JoinLink

Creates a new instance of the idunno.Bluesky.Chat.Embed.JoinLink class.

[JsonConstructor]
public JoinLink(string code)

Parameters

code string

The join link code.

Exceptions

ArgumentNullException

Thrown when code is null.

protected JoinLink(JoinLink original)

Parameters

original JoinLink

Creates a new instance of the idunno.Bluesky.Chat.Embed.JoinLink class.

[JsonConstructor]
public JoinLink(string code)

Parameters

code string

The join link code.

Exceptions

ArgumentNullException

Thrown when code is null.

protected JoinLink(JoinLink original)

Parameters

original JoinLink

Properties

Gets the join link code.

[JsonRequired]
public string Code { get; init; }

Property Value

string

Gets the join link code.

[JsonRequired]
public string Code { get; init; }

Property Value

string

Gets the join link code.

[JsonRequired]
public string Code { get; init; }

Property Value

string
protected override Type EqualityContract { get; }

Property Value

Type
protected override Type EqualityContract { get; }

Property Value

Type
protected override Type EqualityContract { get; }

Property Value

Type

Methods

public override JoinLink <Clone>$()

Returns

JoinLink
public override JoinLink <Clone>$()

Returns

JoinLink
public override JoinLink <Clone>$()

Returns

JoinLink
public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool
public override sealed bool Equals(EmbeddedBase? other)

Parameters

other EmbeddedBase?

Returns

bool
public virtual bool Equals(JoinLink? other)

Parameters

other JoinLink?

Returns

bool
public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool
public override sealed bool Equals(EmbeddedBase? other)

Parameters

other EmbeddedBase?

Returns

bool
public virtual bool Equals(JoinLink? other)

Parameters

other JoinLink?

Returns

bool
public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool
public override sealed bool Equals(EmbeddedBase? other)

Parameters

other EmbeddedBase?

Returns

bool
public virtual bool Equals(JoinLink? other)

Parameters

other JoinLink?

Returns

bool

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.

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.

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.

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool
protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool
protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool
public override string ToString()

Returns

string
public override string ToString()

Returns

string
public override string ToString()

Returns

string

Operators

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

Parameters

left JoinLink?
right JoinLink?

Returns

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

Parameters

left JoinLink?
right JoinLink?

Returns

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

Parameters

left JoinLink?
right JoinLink?

Returns

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

Parameters

left JoinLink?
right JoinLink?

Returns

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

Parameters

left JoinLink?
right JoinLink?

Returns

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

Parameters

left JoinLink?
right JoinLink?

Returns

bool