Table of Contents

Class FeedViewPreference

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

A user's idunno.Bluesky.Actor.Preferences controlling how posts in feeds are displayed.

public sealed record FeedViewPreference : Preference, IEquatable<Preference>, IEquatable<FeedViewPreference>

Inheritance

Implements

Inherited Members

Constructors

FeedViewPreference(string, bool, bool, int?, bool, bool)

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

public FeedViewPreference(string feed, bool hideReplies, bool hideRepliesByUnfollowed, int? hideRepliesByLikeCount, bool hideReposts, bool hideQuotePosts)

Parameters

feed string

The URI of the feed, or an identifier which describes the feed.

hideReplies bool

Flag indicating whether to hide replies in the feed.

hideRepliesByUnfollowed bool

Flag indicating whether to hide replies in the feed if they are not by followed users.

hideRepliesByLikeCount int?

Minimum number of likes a reply must have in the feed before being shown.

hideReposts bool

Flag indicating whether to hide reposts in the feed.

hideQuotePosts bool

Flag indicating whether to hide quote posts in the feed.

FeedViewPreference(string, bool, bool, int?, bool, bool)

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

public FeedViewPreference(string feed, bool hideReplies, bool hideRepliesByUnfollowed, int? hideRepliesByLikeCount, bool hideReposts, bool hideQuotePosts)

Parameters

feed string

The URI of the feed, or an identifier which describes the feed.

hideReplies bool

Flag indicating whether to hide replies in the feed.

hideRepliesByUnfollowed bool

Flag indicating whether to hide replies in the feed if they are not by followed users.

hideRepliesByLikeCount int?

Minimum number of likes a reply must have in the feed before being shown.

hideReposts bool

Flag indicating whether to hide reposts in the feed.

hideQuotePosts bool

Flag indicating whether to hide quote posts in the feed.

FeedViewPreference(string, bool, bool, int?, bool, bool)

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

public FeedViewPreference(string feed, bool hideReplies, bool hideRepliesByUnfollowed, int? hideRepliesByLikeCount, bool hideReposts, bool hideQuotePosts)

Parameters

feed string

The URI of the feed, or an identifier which describes the feed.

hideReplies bool

Flag indicating whether to hide replies in the feed.

hideRepliesByUnfollowed bool

Flag indicating whether to hide replies in the feed if they are not by followed users.

hideRepliesByLikeCount int?

Minimum number of likes a reply must have in the feed before being shown.

hideReposts bool

Flag indicating whether to hide reposts in the feed.

hideQuotePosts bool

Flag indicating whether to hide quote posts in the feed.

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

Feed

Gets the URI of the feed, or an identifier which describes the feed.

[JsonInclude]
[JsonRequired]
public string Feed { get; init; }

Property Value

string

Feed

Gets the URI of the feed, or an identifier which describes the feed.

[JsonInclude]
[JsonRequired]
public string Feed { get; init; }

Property Value

string

Feed

Gets the URI of the feed, or an identifier which describes the feed.

[JsonInclude]
[JsonRequired]
public string Feed { get; init; }

Property Value

string

HideQuotePosts

Flag indicating whether to hide quote posts in the feed.

[JsonInclude]
public bool HideQuotePosts { get; init; }

Property Value

bool

HideQuotePosts

Flag indicating whether to hide quote posts in the feed.

[JsonInclude]
public bool HideQuotePosts { get; init; }

Property Value

bool

HideQuotePosts

Flag indicating whether to hide quote posts in the feed.

[JsonInclude]
public bool HideQuotePosts { get; init; }

Property Value

bool

HideReplies

Flag indicating whether to hide replies in the feed.

[JsonInclude]
public bool HideReplies { get; init; }

Property Value

bool

HideReplies

Flag indicating whether to hide replies in the feed.

[JsonInclude]
public bool HideReplies { get; init; }

Property Value

bool

HideReplies

Flag indicating whether to hide replies in the feed.

[JsonInclude]
public bool HideReplies { get; init; }

Property Value

bool

HideRepliesByLikeCount

Gets the minimum number of likes a reply must have in the feed before being shown

[JsonInclude]
public int? HideRepliesByLikeCount { get; init; }

Property Value

int?

HideRepliesByLikeCount

Gets the minimum number of likes a reply must have in the feed before being shown

[JsonInclude]
public int? HideRepliesByLikeCount { get; init; }

Property Value

int?

HideRepliesByLikeCount

Gets the minimum number of likes a reply must have in the feed before being shown

[JsonInclude]
public int? HideRepliesByLikeCount { get; init; }

Property Value

int?

HideRepliesByUnfollowed

Flag indicating whether to hide replies in the feed if they are not by followed users.

[JsonInclude]
public bool HideRepliesByUnfollowed { get; init; }

Property Value

bool

HideRepliesByUnfollowed

Flag indicating whether to hide replies in the feed if they are not by followed users.

[JsonInclude]
public bool HideRepliesByUnfollowed { get; init; }

Property Value

bool

HideRepliesByUnfollowed

Flag indicating whether to hide replies in the feed if they are not by followed users.

[JsonInclude]
public bool HideRepliesByUnfollowed { get; init; }

Property Value

bool

HideReposts

Flag indicating whether to hide reposts in the feed.

[JsonInclude]
public bool HideReposts { get; init; }

Property Value

bool

HideReposts

Flag indicating whether to hide reposts in the feed.

[JsonInclude]
public bool HideReposts { get; init; }

Property Value

bool

HideReposts

Flag indicating whether to hide reposts in the feed.

[JsonInclude]
public bool HideReposts { get; init; }

Property Value

bool

Methods

<Clone>$()

public override FeedViewPreference <Clone>$()

Returns

FeedViewPreference

<Clone>$()

public override FeedViewPreference <Clone>$()

Returns

FeedViewPreference

<Clone>$()

public override FeedViewPreference <Clone>$()

Returns

FeedViewPreference

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(FeedViewPreference?)

public bool Equals(FeedViewPreference? other)

Parameters

other FeedViewPreference?

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(FeedViewPreference?)

public bool Equals(FeedViewPreference? other)

Parameters

other FeedViewPreference?

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(FeedViewPreference?)

public bool Equals(FeedViewPreference? other)

Parameters

other FeedViewPreference?

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

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

Parameters

left FeedViewPreference?
right FeedViewPreference?

Returns

bool

operator ==(FeedViewPreference?, FeedViewPreference?)

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

Parameters

left FeedViewPreference?
right FeedViewPreference?

Returns

bool

operator ==(FeedViewPreference?, FeedViewPreference?)

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

Parameters

left FeedViewPreference?
right FeedViewPreference?

Returns

bool

operator !=(FeedViewPreference?, FeedViewPreference?)

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

Parameters

left FeedViewPreference?
right FeedViewPreference?

Returns

bool

operator !=(FeedViewPreference?, FeedViewPreference?)

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

Parameters

left FeedViewPreference?
right FeedViewPreference?

Returns

bool

operator !=(FeedViewPreference?, FeedViewPreference?)

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

Parameters

left FeedViewPreference?
right FeedViewPreference?

Returns

bool