Class HiddenPostsPreferences
- Namespace
- idunno.Bluesky.Actor
- Assembly
- idunno.Bluesky.dll
User idunno.Bluesky.Actor.Preference containing the idunno.AtProto.AtUris of posts the user has hidden.
public sealed record HiddenPostsPreferences : Preference, IEquatable<Preference>, IEquatable<HiddenPostsPreferences>Inheritance
Implements
Inherited Members
Constructors
HiddenPostsPreferences(IReadOnlyList<AtUri>)
Creates a new instance of idunno.Bluesky.Actor.HiddenPostsPreferences.
[JsonConstructor]
public HiddenPostsPreferences(IReadOnlyList<AtUri> items)Parameters
itemsIReadOnlyList<AtUri>-
A list of URIs of posts the account owner has hidden.
Exceptions
- ArgumentNullException
-
Thrown when
itemsis null.
HiddenPostsPreferences(IReadOnlyList<AtUri>)
Creates a new instance of idunno.Bluesky.Actor.HiddenPostsPreferences.
[JsonConstructor]
public HiddenPostsPreferences(IReadOnlyList<AtUri> items)Parameters
itemsIReadOnlyList<AtUri>-
A list of URIs of posts the account owner has hidden.
Exceptions
- ArgumentNullException
-
Thrown when
itemsis null.
HiddenPostsPreferences(IReadOnlyList<AtUri>)
Creates a new instance of idunno.Bluesky.Actor.HiddenPostsPreferences.
[JsonConstructor]
public HiddenPostsPreferences(IReadOnlyList<AtUri> items)Parameters
itemsIReadOnlyList<AtUri>-
A list of URIs of posts the account owner has hidden.
Exceptions
- ArgumentNullException
-
Thrown when
itemsis null.
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
Items
A list of URIs of posts the account owner has hidden.
public IReadOnlyList<AtUri> Items { get; init; }Property Value
- IReadOnlyList<AtUri>
Exceptions
- ArgumentNullException
-
Thrown when the value set is null.
Items
A list of URIs of posts the account owner has hidden.
public IReadOnlyList<AtUri> Items { get; init; }Property Value
- IReadOnlyList<AtUri>
Exceptions
- ArgumentNullException
-
Thrown when the value set is null.
Items
A list of URIs of posts the account owner has hidden.
public IReadOnlyList<AtUri> Items { get; init; }Property Value
- IReadOnlyList<AtUri>
Exceptions
- ArgumentNullException
-
Thrown when the value set is null.
Methods
<Clone>$()
public override HiddenPostsPreferences <Clone>$()Returns
<Clone>$()
public override HiddenPostsPreferences <Clone>$()Returns
<Clone>$()
public override HiddenPostsPreferences <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(HiddenPostsPreferences?)
public bool Equals(HiddenPostsPreferences? other)Parameters
otherHiddenPostsPreferences?
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(HiddenPostsPreferences?)
public bool Equals(HiddenPostsPreferences? other)Parameters
otherHiddenPostsPreferences?
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(HiddenPostsPreferences?)
public bool Equals(HiddenPostsPreferences? other)Parameters
otherHiddenPostsPreferences?
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 ==(HiddenPostsPreferences?, HiddenPostsPreferences?)
public static bool operator ==(HiddenPostsPreferences? left, HiddenPostsPreferences? right)Parameters
leftHiddenPostsPreferences?rightHiddenPostsPreferences?
Returns
operator ==(HiddenPostsPreferences?, HiddenPostsPreferences?)
public static bool operator ==(HiddenPostsPreferences? left, HiddenPostsPreferences? right)Parameters
leftHiddenPostsPreferences?rightHiddenPostsPreferences?
Returns
operator ==(HiddenPostsPreferences?, HiddenPostsPreferences?)
public static bool operator ==(HiddenPostsPreferences? left, HiddenPostsPreferences? right)Parameters
leftHiddenPostsPreferences?rightHiddenPostsPreferences?
Returns
operator !=(HiddenPostsPreferences?, HiddenPostsPreferences?)
public static bool operator !=(HiddenPostsPreferences? left, HiddenPostsPreferences? right)Parameters
leftHiddenPostsPreferences?rightHiddenPostsPreferences?
Returns
operator !=(HiddenPostsPreferences?, HiddenPostsPreferences?)
public static bool operator !=(HiddenPostsPreferences? left, HiddenPostsPreferences? right)Parameters
leftHiddenPostsPreferences?rightHiddenPostsPreferences?
Returns
operator !=(HiddenPostsPreferences?, HiddenPostsPreferences?)
public static bool operator !=(HiddenPostsPreferences? left, HiddenPostsPreferences? right)Parameters
leftHiddenPostsPreferences?rightHiddenPostsPreferences?