Class NonFilterablePreference
- Assembly
- idunno.Bluesky.dll
Encapsulates a non-filterable notification preference
public sealed record NonFilterablePreference : IEquatable<NonFilterablePreference>Inheritance
Implements
Inherited Members
Constructors
NonFilterablePreference()
Creates a new instance of idunno.Bluesky.Notifications.PreferenceTypes.NonFilterablePreference.
public NonFilterablePreference()NonFilterablePreference(bool, bool)
Creates a new instance of idunno.Bluesky.Notifications.PreferenceTypes.NonFilterablePreference.
[JsonConstructor]
public NonFilterablePreference(bool list, bool push)Parameters
listbool-
A flag indicating whether the notification type should be shown in the user's notifications list.
pushbool-
A flag indicating whether the notification type should be pushed.
NonFilterablePreference()
Creates a new instance of idunno.Bluesky.Notifications.PreferenceTypes.NonFilterablePreference.
public NonFilterablePreference()NonFilterablePreference(bool, bool)
Creates a new instance of idunno.Bluesky.Notifications.PreferenceTypes.NonFilterablePreference.
[JsonConstructor]
public NonFilterablePreference(bool list, bool push)Parameters
listbool-
A flag indicating whether the notification type should be shown in the user's notifications list.
pushbool-
A flag indicating whether the notification type should be pushed.
NonFilterablePreference()
Creates a new instance of idunno.Bluesky.Notifications.PreferenceTypes.NonFilterablePreference.
public NonFilterablePreference()NonFilterablePreference(bool, bool)
Creates a new instance of idunno.Bluesky.Notifications.PreferenceTypes.NonFilterablePreference.
[JsonConstructor]
public NonFilterablePreference(bool list, bool push)Parameters
listbool-
A flag indicating whether the notification type should be shown in the user's notifications list.
pushbool-
A flag indicating whether the notification type should be pushed.
Properties
List
Gets or sets a flag indicating whether the notification type should be shown in the user's notifications list.
public bool List { get; set; }Property Value
List
Gets or sets a flag indicating whether the notification type should be shown in the user's notifications list.
public bool List { get; set; }Property Value
List
Gets or sets a flag indicating whether the notification type should be shown in the user's notifications list.
public bool List { get; set; }Property Value
Push
Gets or sets a flag indicating whether the notification type should be pushed.
public bool Push { get; set; }Property Value
Push
Gets or sets a flag indicating whether the notification type should be pushed.
public bool Push { get; set; }Property Value
Push
Gets or sets a flag indicating whether the notification type should be pushed.
public bool Push { get; set; }Property Value
Methods
<Clone>$()
public NonFilterablePreference <Clone>$()Returns
<Clone>$()
public NonFilterablePreference <Clone>$()Returns
<Clone>$()
public NonFilterablePreference <Clone>$()Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(NonFilterablePreference?)
public bool Equals(NonFilterablePreference? other)Parameters
otherNonFilterablePreference?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(NonFilterablePreference?)
public bool Equals(NonFilterablePreference? other)Parameters
otherNonFilterablePreference?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(NonFilterablePreference?)
public bool Equals(NonFilterablePreference? other)Parameters
otherNonFilterablePreference?
Returns
GetHashCode()
public override int GetHashCode()Returns
GetHashCode()
public override int GetHashCode()Returns
GetHashCode()
public override int GetHashCode()Returns
ToString()
public override string ToString()Returns
ToString()
public override string ToString()Returns
ToString()
public override string ToString()Returns
Operators
operator ==(NonFilterablePreference?, NonFilterablePreference?)
public static bool operator ==(NonFilterablePreference? left, NonFilterablePreference? right)Parameters
leftNonFilterablePreference?rightNonFilterablePreference?
Returns
operator ==(NonFilterablePreference?, NonFilterablePreference?)
public static bool operator ==(NonFilterablePreference? left, NonFilterablePreference? right)Parameters
leftNonFilterablePreference?rightNonFilterablePreference?
Returns
operator ==(NonFilterablePreference?, NonFilterablePreference?)
public static bool operator ==(NonFilterablePreference? left, NonFilterablePreference? right)Parameters
leftNonFilterablePreference?rightNonFilterablePreference?
Returns
operator !=(NonFilterablePreference?, NonFilterablePreference?)
public static bool operator !=(NonFilterablePreference? left, NonFilterablePreference? right)Parameters
leftNonFilterablePreference?rightNonFilterablePreference?
Returns
operator !=(NonFilterablePreference?, NonFilterablePreference?)
public static bool operator !=(NonFilterablePreference? left, NonFilterablePreference? right)Parameters
leftNonFilterablePreference?rightNonFilterablePreference?
Returns
operator !=(NonFilterablePreference?, NonFilterablePreference?)
public static bool operator !=(NonFilterablePreference? left, NonFilterablePreference? right)Parameters
leftNonFilterablePreference?rightNonFilterablePreference?