Class ThreadViewPost
- Namespace
- idunno.Bluesky.Feed
- Assembly
- idunno.Bluesky.dll
Encapsulates a view over a post in a thread.
public record ThreadViewPost : PostViewBase, IEquatable<View>, IEquatable<PostViewBase>, IEquatable<ThreadViewPost>Inheritance
Implements
Inherited Members
Constructors
ThreadViewPost(ThreadViewPost)
protected ThreadViewPost(ThreadViewPost original)Parameters
originalThreadViewPost
ThreadViewPost(ThreadViewPost)
protected ThreadViewPost(ThreadViewPost original)Parameters
originalThreadViewPost
ThreadViewPost(ThreadViewPost)
protected ThreadViewPost(ThreadViewPost original)Parameters
originalThreadViewPost
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
Parent
Gets the idunno.Bluesky.Feed.PostViewBase of the parent of the idunno.Bluesky.Feed.ThreadViewPost.Post, if any.
[JsonInclude]
public PostViewBase? Parent { get; init; }Property Value
Parent
Gets the idunno.Bluesky.Feed.PostViewBase of the parent of the idunno.Bluesky.Feed.ThreadViewPost.Post, if any.
[JsonInclude]
public PostViewBase? Parent { get; init; }Property Value
Parent
Gets the idunno.Bluesky.Feed.PostViewBase of the parent of the idunno.Bluesky.Feed.ThreadViewPost.Post, if any.
[JsonInclude]
public PostViewBase? Parent { get; init; }Property Value
Post
Gets the idunno.Bluesky.Feed.PostView of the post.
[JsonInclude]
[JsonRequired]
public PostView Post { get; init; }Property Value
Post
Gets the idunno.Bluesky.Feed.PostView of the post.
[JsonInclude]
[JsonRequired]
public PostView Post { get; init; }Property Value
Post
Gets the idunno.Bluesky.Feed.PostView of the post.
[JsonInclude]
[JsonRequired]
public PostView Post { get; init; }Property Value
Replies
Gets a collection of idunno.Bluesky.Feed.PostViewBase of replies to the idunno.Bluesky.Feed.ThreadViewPost.Post, if any.
[JsonInclude]
public IReadOnlyList<PostViewBase>? Replies { get; init; }Property Value
Replies
Gets a collection of idunno.Bluesky.Feed.PostViewBase of replies to the idunno.Bluesky.Feed.ThreadViewPost.Post, if any.
[JsonInclude]
public IReadOnlyList<PostViewBase>? Replies { get; init; }Property Value
Replies
Gets a collection of idunno.Bluesky.Feed.PostViewBase of replies to the idunno.Bluesky.Feed.ThreadViewPost.Post, if any.
[JsonInclude]
public IReadOnlyList<PostViewBase>? Replies { get; init; }Property Value
ThreadContext
Gets the idunno.Bluesky.Feed.ThreadViewPost.ThreadContext for the post, if any.
[JsonInclude]
public ThreadContext? ThreadContext { get; init; }Property Value
ThreadContext
Gets the idunno.Bluesky.Feed.ThreadViewPost.ThreadContext for the post, if any.
[JsonInclude]
public ThreadContext? ThreadContext { get; init; }Property Value
ThreadContext
Gets the idunno.Bluesky.Feed.ThreadViewPost.ThreadContext for the post, if any.
[JsonInclude]
public ThreadContext? ThreadContext { get; init; }Property Value
ThreadGate
Gets a idunno.Bluesky.Feed.ThreadGateView over the thread gate applied to the post, if any.
[JsonInclude]
[JsonPropertyName("threadgate")]
public ThreadGateView? ThreadGate { get; init; }Property Value
ThreadGate
Gets a idunno.Bluesky.Feed.ThreadGateView over the thread gate applied to the post, if any.
[JsonInclude]
[JsonPropertyName("threadgate")]
public ThreadGateView? ThreadGate { get; init; }Property Value
ThreadGate
Gets a idunno.Bluesky.Feed.ThreadGateView over the thread gate applied to the post, if any.
[JsonInclude]
[JsonPropertyName("threadgate")]
public ThreadGateView? ThreadGate { get; init; }Property Value
Methods
<Clone>$()
public override ThreadViewPost <Clone>$()Returns
<Clone>$()
public override ThreadViewPost <Clone>$()Returns
<Clone>$()
public override ThreadViewPost <Clone>$()Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(PostViewBase?)
public override sealed bool Equals(PostViewBase? other)Parameters
otherPostViewBase?
Returns
Equals(ThreadViewPost?)
public virtual bool Equals(ThreadViewPost? other)Parameters
otherThreadViewPost?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(PostViewBase?)
public override sealed bool Equals(PostViewBase? other)Parameters
otherPostViewBase?
Returns
Equals(ThreadViewPost?)
public virtual bool Equals(ThreadViewPost? other)Parameters
otherThreadViewPost?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(PostViewBase?)
public override sealed bool Equals(PostViewBase? other)Parameters
otherPostViewBase?
Returns
Equals(ThreadViewPost?)
public virtual bool Equals(ThreadViewPost? other)Parameters
otherThreadViewPost?
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 ==(ThreadViewPost?, ThreadViewPost?)
public static bool operator ==(ThreadViewPost? left, ThreadViewPost? right)Parameters
leftThreadViewPost?rightThreadViewPost?
Returns
operator ==(ThreadViewPost?, ThreadViewPost?)
public static bool operator ==(ThreadViewPost? left, ThreadViewPost? right)Parameters
leftThreadViewPost?rightThreadViewPost?
Returns
operator ==(ThreadViewPost?, ThreadViewPost?)
public static bool operator ==(ThreadViewPost? left, ThreadViewPost? right)Parameters
leftThreadViewPost?rightThreadViewPost?
Returns
operator !=(ThreadViewPost?, ThreadViewPost?)
public static bool operator !=(ThreadViewPost? left, ThreadViewPost? right)Parameters
leftThreadViewPost?rightThreadViewPost?
Returns
operator !=(ThreadViewPost?, ThreadViewPost?)
public static bool operator !=(ThreadViewPost? left, ThreadViewPost? right)Parameters
leftThreadViewPost?rightThreadViewPost?
Returns
operator !=(ThreadViewPost?, ThreadViewPost?)
public static bool operator !=(ThreadViewPost? left, ThreadViewPost? right)Parameters
leftThreadViewPost?rightThreadViewPost?