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
feedstring-
The URI of the feed, or an identifier which describes the feed.
hideRepliesbool-
Flag indicating whether to hide replies in the feed.
hideRepliesByUnfollowedbool-
Flag indicating whether to hide replies in the feed if they are not by followed users.
hideRepliesByLikeCountint?-
Minimum number of likes a reply must have in the feed before being shown.
hideRepostsbool-
Flag indicating whether to hide reposts in the feed.
hideQuotePostsbool-
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
feedstring-
The URI of the feed, or an identifier which describes the feed.
hideRepliesbool-
Flag indicating whether to hide replies in the feed.
hideRepliesByUnfollowedbool-
Flag indicating whether to hide replies in the feed if they are not by followed users.
hideRepliesByLikeCountint?-
Minimum number of likes a reply must have in the feed before being shown.
hideRepostsbool-
Flag indicating whether to hide reposts in the feed.
hideQuotePostsbool-
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
feedstring-
The URI of the feed, or an identifier which describes the feed.
hideRepliesbool-
Flag indicating whether to hide replies in the feed.
hideRepliesByUnfollowedbool-
Flag indicating whether to hide replies in the feed if they are not by followed users.
hideRepliesByLikeCountint?-
Minimum number of likes a reply must have in the feed before being shown.
hideRepostsbool-
Flag indicating whether to hide reposts in the feed.
hideQuotePostsbool-
Flag indicating whether to hide quote posts in the feed.
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
Feed
Gets the URI of the feed, or an identifier which describes the feed.
[JsonInclude]
[JsonRequired]
public string Feed { get; init; }Property Value
Feed
Gets the URI of the feed, or an identifier which describes the feed.
[JsonInclude]
[JsonRequired]
public string Feed { get; init; }Property Value
Feed
Gets the URI of the feed, or an identifier which describes the feed.
[JsonInclude]
[JsonRequired]
public string Feed { get; init; }Property Value
HideQuotePosts
Flag indicating whether to hide quote posts in the feed.
[JsonInclude]
public bool HideQuotePosts { get; init; }Property Value
HideQuotePosts
Flag indicating whether to hide quote posts in the feed.
[JsonInclude]
public bool HideQuotePosts { get; init; }Property Value
HideQuotePosts
Flag indicating whether to hide quote posts in the feed.
[JsonInclude]
public bool HideQuotePosts { get; init; }Property Value
HideReplies
Flag indicating whether to hide replies in the feed.
[JsonInclude]
public bool HideReplies { get; init; }Property Value
HideReplies
Flag indicating whether to hide replies in the feed.
[JsonInclude]
public bool HideReplies { get; init; }Property Value
HideReplies
Flag indicating whether to hide replies in the feed.
[JsonInclude]
public bool HideReplies { get; init; }Property Value
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
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
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
HideReposts
Flag indicating whether to hide reposts in the feed.
[JsonInclude]
public bool HideReposts { get; init; }Property Value
HideReposts
Flag indicating whether to hide reposts in the feed.
[JsonInclude]
public bool HideReposts { get; init; }Property Value
HideReposts
Flag indicating whether to hide reposts in the feed.
[JsonInclude]
public bool HideReposts { get; init; }Property Value
Methods
<Clone>$()
public override FeedViewPreference <Clone>$()Returns
<Clone>$()
public override FeedViewPreference <Clone>$()Returns
<Clone>$()
public override FeedViewPreference <Clone>$()Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(Preference?)
public override sealed bool Equals(Preference? other)Parameters
otherPreference?
Returns
Equals(FeedViewPreference?)
public bool Equals(FeedViewPreference? other)Parameters
otherFeedViewPreference?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(Preference?)
public override sealed bool Equals(Preference? other)Parameters
otherPreference?
Returns
Equals(FeedViewPreference?)
public bool Equals(FeedViewPreference? other)Parameters
otherFeedViewPreference?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(Preference?)
public override sealed bool Equals(Preference? other)Parameters
otherPreference?
Returns
Equals(FeedViewPreference?)
public bool Equals(FeedViewPreference? other)Parameters
otherFeedViewPreference?
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 ==(FeedViewPreference?, FeedViewPreference?)
public static bool operator ==(FeedViewPreference? left, FeedViewPreference? right)Parameters
leftFeedViewPreference?rightFeedViewPreference?
Returns
operator ==(FeedViewPreference?, FeedViewPreference?)
public static bool operator ==(FeedViewPreference? left, FeedViewPreference? right)Parameters
leftFeedViewPreference?rightFeedViewPreference?
Returns
operator ==(FeedViewPreference?, FeedViewPreference?)
public static bool operator ==(FeedViewPreference? left, FeedViewPreference? right)Parameters
leftFeedViewPreference?rightFeedViewPreference?
Returns
operator !=(FeedViewPreference?, FeedViewPreference?)
public static bool operator !=(FeedViewPreference? left, FeedViewPreference? right)Parameters
leftFeedViewPreference?rightFeedViewPreference?
Returns
operator !=(FeedViewPreference?, FeedViewPreference?)
public static bool operator !=(FeedViewPreference? left, FeedViewPreference? right)Parameters
leftFeedViewPreference?rightFeedViewPreference?
Returns
operator !=(FeedViewPreference?, FeedViewPreference?)
public static bool operator !=(FeedViewPreference? left, FeedViewPreference? right)Parameters
leftFeedViewPreference?rightFeedViewPreference?