Class ThreadContext
- Namespace
- idunno.Bluesky.Feed
- Assembly
- idunno.Bluesky.dll
Encapsulates metadata about this post within the context of the thread it is in.
public sealed record ThreadContext : AtProtoObject, IEquatable<AtProtoObject>, IEquatable<ThreadContext>Inheritance
-
AtProtoObject
Implements
Inherited Members
-
AtProtoObject.ToString()AtProtoObject.GetHashCode()AtProtoObject.Equals(object?)AtProtoObject.Equals(AtProtoObject?)AtProtoObject.<Clone>$()
Constructors
ThreadContext(AtUri?)
Creates a new instance of idunno.Bluesky.Feed.ThreadContext.
[JsonConstructor]
public ThreadContext(AtUri? rootAuthorLike)Parameters
rootAuthorLikeAtUri?-
The idunno.AtProto.AtUri of a like on a idunno.Bluesky.Feed.ThreadViewPost from the author of the threat root, if any
ThreadContext(AtUri?)
Creates a new instance of idunno.Bluesky.Feed.ThreadContext.
[JsonConstructor]
public ThreadContext(AtUri? rootAuthorLike)Parameters
rootAuthorLikeAtUri?-
The idunno.AtProto.AtUri of a like on a idunno.Bluesky.Feed.ThreadViewPost from the author of the threat root, if any
ThreadContext(AtUri?)
Creates a new instance of idunno.Bluesky.Feed.ThreadContext.
[JsonConstructor]
public ThreadContext(AtUri? rootAuthorLike)Parameters
rootAuthorLikeAtUri?-
The idunno.AtProto.AtUri of a like on a idunno.Bluesky.Feed.ThreadViewPost from the author of the threat root, if any
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
RootAuthorLike
The idunno.AtProto.AtUri of a like on a idunno.Bluesky.Feed.ThreadViewPost from the author of the threat root, if any.
[JsonInclude]
public AtUri? RootAuthorLike { get; init; }Property Value
- AtUri?
RootAuthorLike
The idunno.AtProto.AtUri of a like on a idunno.Bluesky.Feed.ThreadViewPost from the author of the threat root, if any.
[JsonInclude]
public AtUri? RootAuthorLike { get; init; }Property Value
- AtUri?
RootAuthorLike
The idunno.AtProto.AtUri of a like on a idunno.Bluesky.Feed.ThreadViewPost from the author of the threat root, if any.
[JsonInclude]
public AtUri? RootAuthorLike { get; init; }Property Value
- AtUri?
Methods
<Clone>$()
public override ThreadContext <Clone>$()Returns
<Clone>$()
public override ThreadContext <Clone>$()Returns
<Clone>$()
public override ThreadContext <Clone>$()Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(AtProtoObject?)
public override sealed bool Equals(AtProtoObject? other)Parameters
otherAtProtoObject?
Returns
Equals(ThreadContext?)
public bool Equals(ThreadContext? other)Parameters
otherThreadContext?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(AtProtoObject?)
public override sealed bool Equals(AtProtoObject? other)Parameters
otherAtProtoObject?
Returns
Equals(ThreadContext?)
public bool Equals(ThreadContext? other)Parameters
otherThreadContext?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(AtProtoObject?)
public override sealed bool Equals(AtProtoObject? other)Parameters
otherAtProtoObject?
Returns
Equals(ThreadContext?)
public bool Equals(ThreadContext? other)Parameters
otherThreadContext?
Returns
GetHashCode()
public override int GetHashCode()Returns
GetHashCode()
public override int GetHashCode()Returns
GetHashCode()
public override int GetHashCode()Returns
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 ==(ThreadContext?, ThreadContext?)
public static bool operator ==(ThreadContext? left, ThreadContext? right)Parameters
leftThreadContext?rightThreadContext?
Returns
operator ==(ThreadContext?, ThreadContext?)
public static bool operator ==(ThreadContext? left, ThreadContext? right)Parameters
leftThreadContext?rightThreadContext?
Returns
operator ==(ThreadContext?, ThreadContext?)
public static bool operator ==(ThreadContext? left, ThreadContext? right)Parameters
leftThreadContext?rightThreadContext?
Returns
operator !=(ThreadContext?, ThreadContext?)
public static bool operator !=(ThreadContext? left, ThreadContext? right)Parameters
leftThreadContext?rightThreadContext?
Returns
operator !=(ThreadContext?, ThreadContext?)
public static bool operator !=(ThreadContext? left, ThreadContext? right)Parameters
leftThreadContext?rightThreadContext?
Returns
operator !=(ThreadContext?, ThreadContext?)
public static bool operator !=(ThreadContext? left, ThreadContext? right)Parameters
leftThreadContext?rightThreadContext?