Table of Contents

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

original ThreadViewPost

ThreadViewPost(ThreadViewPost)

protected ThreadViewPost(ThreadViewPost original)

Parameters

original ThreadViewPost

ThreadViewPost(ThreadViewPost)

protected ThreadViewPost(ThreadViewPost original)

Parameters

original ThreadViewPost

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

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

PostViewBase?

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

PostViewBase?

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

PostViewBase?

Post

Gets the idunno.Bluesky.Feed.PostView of the post.

[JsonInclude]
[JsonRequired]
public PostView Post { get; init; }

Property Value

PostView

Post

Gets the idunno.Bluesky.Feed.PostView of the post.

[JsonInclude]
[JsonRequired]
public PostView Post { get; init; }

Property Value

PostView

Post

Gets the idunno.Bluesky.Feed.PostView of the post.

[JsonInclude]
[JsonRequired]
public PostView Post { get; init; }

Property Value

PostView

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

IReadOnlyList<PostViewBase>?

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

IReadOnlyList<PostViewBase>?

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

IReadOnlyList<PostViewBase>?

ThreadContext

Gets the idunno.Bluesky.Feed.ThreadViewPost.ThreadContext for the post, if any.

[JsonInclude]
public ThreadContext? ThreadContext { get; init; }

Property Value

ThreadContext?

ThreadContext

Gets the idunno.Bluesky.Feed.ThreadViewPost.ThreadContext for the post, if any.

[JsonInclude]
public ThreadContext? ThreadContext { get; init; }

Property Value

ThreadContext?

ThreadContext

Gets the idunno.Bluesky.Feed.ThreadViewPost.ThreadContext for the post, if any.

[JsonInclude]
public ThreadContext? ThreadContext { get; init; }

Property Value

ThreadContext?

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

ThreadGateView?

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

ThreadGateView?

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

ThreadGateView?

Methods

<Clone>$()

public override ThreadViewPost <Clone>$()

Returns

ThreadViewPost

<Clone>$()

public override ThreadViewPost <Clone>$()

Returns

ThreadViewPost

<Clone>$()

public override ThreadViewPost <Clone>$()

Returns

ThreadViewPost

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(PostViewBase?)

public override sealed bool Equals(PostViewBase? other)

Parameters

other PostViewBase?

Returns

bool

Equals(ThreadViewPost?)

public virtual bool Equals(ThreadViewPost? other)

Parameters

other ThreadViewPost?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(PostViewBase?)

public override sealed bool Equals(PostViewBase? other)

Parameters

other PostViewBase?

Returns

bool

Equals(ThreadViewPost?)

public virtual bool Equals(ThreadViewPost? other)

Parameters

other ThreadViewPost?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(PostViewBase?)

public override sealed bool Equals(PostViewBase? other)

Parameters

other PostViewBase?

Returns

bool

Equals(ThreadViewPost?)

public virtual bool Equals(ThreadViewPost? other)

Parameters

other ThreadViewPost?

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

GetHashCode()

public override int GetHashCode()

Returns

int

GetHashCode()

public override int GetHashCode()

Returns

int

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

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

Parameters

left ThreadViewPost?
right ThreadViewPost?

Returns

bool

operator ==(ThreadViewPost?, ThreadViewPost?)

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

Parameters

left ThreadViewPost?
right ThreadViewPost?

Returns

bool

operator ==(ThreadViewPost?, ThreadViewPost?)

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

Parameters

left ThreadViewPost?
right ThreadViewPost?

Returns

bool

operator !=(ThreadViewPost?, ThreadViewPost?)

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

Parameters

left ThreadViewPost?
right ThreadViewPost?

Returns

bool

operator !=(ThreadViewPost?, ThreadViewPost?)

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

Parameters

left ThreadViewPost?
right ThreadViewPost?

Returns

bool

operator !=(ThreadViewPost?, ThreadViewPost?)

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

Parameters

left ThreadViewPost?
right ThreadViewPost?

Returns

bool