Table of Contents

Class ThreadViewPreference

Namespace
idunno.Bluesky.Actor
Assembly
idunno.Bluesky.dll

Preferences for displaying how threads are viewed.

public record ThreadViewPreference : Preference, IEquatable<Preference>, IEquatable<ThreadViewPreference>

Inheritance

Implements

Inherited Members

Constructors

ThreadViewPreference(ThreadSortingMode?, bool?)

Creates a new instance of idunno.Bluesky.Actor.ThreadViewPreference.

public ThreadViewPreference(ThreadSortingMode? sortingMode = null, bool? prioritizeFollowedUsers = null)

Parameters

sortingMode ThreadSortingMode?

The user's preferred sorting mode for threads.

prioritizeFollowedUsers bool?

Flag indicating whether to show followed users at the top of all replies.

Exceptions

ArgumentOutOfRangeException

Thrown when sortingMode is idunno.Bluesky.Actor.ThreadSortingMode.Unknown.

ThreadViewPreference(ThreadViewPreference)

protected ThreadViewPreference(ThreadViewPreference original)

Parameters

original ThreadViewPreference

ThreadViewPreference(ThreadSortingMode?, bool?)

Creates a new instance of idunno.Bluesky.Actor.ThreadViewPreference.

public ThreadViewPreference(ThreadSortingMode? sortingMode = null, bool? prioritizeFollowedUsers = null)

Parameters

sortingMode ThreadSortingMode?

The user's preferred sorting mode for threads.

prioritizeFollowedUsers bool?

Flag indicating whether to show followed users at the top of all replies.

Exceptions

ArgumentOutOfRangeException

Thrown when sortingMode is idunno.Bluesky.Actor.ThreadSortingMode.Unknown.

ThreadViewPreference(ThreadViewPreference)

protected ThreadViewPreference(ThreadViewPreference original)

Parameters

original ThreadViewPreference

ThreadViewPreference(ThreadSortingMode?, bool?)

Creates a new instance of idunno.Bluesky.Actor.ThreadViewPreference.

public ThreadViewPreference(ThreadSortingMode? sortingMode = null, bool? prioritizeFollowedUsers = null)

Parameters

sortingMode ThreadSortingMode?

The user's preferred sorting mode for threads.

prioritizeFollowedUsers bool?

Flag indicating whether to show followed users at the top of all replies.

Exceptions

ArgumentOutOfRangeException

Thrown when sortingMode is idunno.Bluesky.Actor.ThreadSortingMode.Unknown.

ThreadViewPreference(ThreadViewPreference)

protected ThreadViewPreference(ThreadViewPreference original)

Parameters

original ThreadViewPreference

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

PrioritizeFollowedUsers

Flag indicating whether to show followed users at the top of all replies.

[JsonInclude]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public bool? PrioritizeFollowedUsers { get; init; }

Property Value

bool?

PrioritizeFollowedUsers

Flag indicating whether to show followed users at the top of all replies.

[JsonInclude]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public bool? PrioritizeFollowedUsers { get; init; }

Property Value

bool?

PrioritizeFollowedUsers

Flag indicating whether to show followed users at the top of all replies.

[JsonInclude]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public bool? PrioritizeFollowedUsers { get; init; }

Property Value

bool?

SortingMode

The user's preferred sorting mode for threads.

[JsonIgnore]
public ThreadSortingMode? SortingMode { get; }

Property Value

ThreadSortingMode?

Remarks

A sorting mode this library does not recognize is reported as idunno.Bluesky.Actor.ThreadSortingMode.Unknown.

SortingMode

The user's preferred sorting mode for threads.

[JsonIgnore]
public ThreadSortingMode? SortingMode { get; }

Property Value

ThreadSortingMode?

Remarks

A sorting mode this library does not recognize is reported as idunno.Bluesky.Actor.ThreadSortingMode.Unknown.

SortingMode

The user's preferred sorting mode for threads.

[JsonIgnore]
public ThreadSortingMode? SortingMode { get; }

Property Value

ThreadSortingMode?

Remarks

A sorting mode this library does not recognize is reported as idunno.Bluesky.Actor.ThreadSortingMode.Unknown.

Methods

<Clone>$()

public override ThreadViewPreference <Clone>$()

Returns

ThreadViewPreference

<Clone>$()

public override ThreadViewPreference <Clone>$()

Returns

ThreadViewPreference

<Clone>$()

public override ThreadViewPreference <Clone>$()

Returns

ThreadViewPreference

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(Preference?)

public override sealed bool Equals(Preference? other)

Parameters

other Preference?

Returns

bool

Equals(ThreadViewPreference?)

public virtual bool Equals(ThreadViewPreference? other)

Parameters

other ThreadViewPreference?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(Preference?)

public override sealed bool Equals(Preference? other)

Parameters

other Preference?

Returns

bool

Equals(ThreadViewPreference?)

public virtual bool Equals(ThreadViewPreference? other)

Parameters

other ThreadViewPreference?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(Preference?)

public override sealed bool Equals(Preference? other)

Parameters

other Preference?

Returns

bool

Equals(ThreadViewPreference?)

public virtual bool Equals(ThreadViewPreference? other)

Parameters

other ThreadViewPreference?

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

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

Parameters

left ThreadViewPreference?
right ThreadViewPreference?

Returns

bool

operator ==(ThreadViewPreference?, ThreadViewPreference?)

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

Parameters

left ThreadViewPreference?
right ThreadViewPreference?

Returns

bool

operator ==(ThreadViewPreference?, ThreadViewPreference?)

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

Parameters

left ThreadViewPreference?
right ThreadViewPreference?

Returns

bool

operator !=(ThreadViewPreference?, ThreadViewPreference?)

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

Parameters

left ThreadViewPreference?
right ThreadViewPreference?

Returns

bool

operator !=(ThreadViewPreference?, ThreadViewPreference?)

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

Parameters

left ThreadViewPreference?
right ThreadViewPreference?

Returns

bool

operator !=(ThreadViewPreference?, ThreadViewPreference?)

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

Parameters

left ThreadViewPreference?
right ThreadViewPreference?

Returns

bool