Class FilterablePreference
- Assembly
- idunno.Bluesky.dll
Encapsulates a filterable notification preference
public sealed record FilterablePreference : IEquatable<FilterablePreference>Inheritance
Implements
Inherited Members
Constructors
FilterablePreference()
Creates a new instance of idunno.Bluesky.Notifications.PreferenceTypes.FilterablePreference.
public FilterablePreference()FilterablePreference(LimitTo, bool, bool)
Creates a new instance of idunno.Bluesky.Notifications.PreferenceTypes.FilterablePreference.
[JsonConstructor]
public FilterablePreference(LimitTo include, bool list, bool push)Parameters
includeLimitTo-
The type of users that notifications should be sent for.
listbool-
Flag indicating whether the notification type should be shown in the user's notifications list.
pushbool-
Flag indicating whether the notification type should be pushed.
FilterablePreference()
Creates a new instance of idunno.Bluesky.Notifications.PreferenceTypes.FilterablePreference.
public FilterablePreference()FilterablePreference(LimitTo, bool, bool)
Creates a new instance of idunno.Bluesky.Notifications.PreferenceTypes.FilterablePreference.
[JsonConstructor]
public FilterablePreference(LimitTo include, bool list, bool push)Parameters
includeLimitTo-
The type of users that notifications should be sent for.
listbool-
Flag indicating whether the notification type should be shown in the user's notifications list.
pushbool-
Flag indicating whether the notification type should be pushed.
FilterablePreference()
Creates a new instance of idunno.Bluesky.Notifications.PreferenceTypes.FilterablePreference.
public FilterablePreference()FilterablePreference(LimitTo, bool, bool)
Creates a new instance of idunno.Bluesky.Notifications.PreferenceTypes.FilterablePreference.
[JsonConstructor]
public FilterablePreference(LimitTo include, bool list, bool push)Parameters
includeLimitTo-
The type of users that notifications should be sent for.
listbool-
Flag indicating whether the notification type should be shown in the user's notifications list.
pushbool-
Flag indicating whether the notification type should be pushed.
Properties
Include
Gets or sets the type of users that notifications should be sent for.
public LimitTo Include { get; set; }Property Value
Include
Gets or sets the type of users that notifications should be sent for.
public LimitTo Include { get; set; }Property Value
Include
Gets or sets the type of users that notifications should be sent for.
public LimitTo Include { 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
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 FilterablePreference <Clone>$()Returns
<Clone>$()
public FilterablePreference <Clone>$()Returns
<Clone>$()
public FilterablePreference <Clone>$()Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(FilterablePreference?)
public bool Equals(FilterablePreference? other)Parameters
otherFilterablePreference?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(FilterablePreference?)
public bool Equals(FilterablePreference? other)Parameters
otherFilterablePreference?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(FilterablePreference?)
public bool Equals(FilterablePreference? other)Parameters
otherFilterablePreference?
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 ==(FilterablePreference?, FilterablePreference?)
public static bool operator ==(FilterablePreference? left, FilterablePreference? right)Parameters
leftFilterablePreference?rightFilterablePreference?
Returns
operator ==(FilterablePreference?, FilterablePreference?)
public static bool operator ==(FilterablePreference? left, FilterablePreference? right)Parameters
leftFilterablePreference?rightFilterablePreference?
Returns
operator ==(FilterablePreference?, FilterablePreference?)
public static bool operator ==(FilterablePreference? left, FilterablePreference? right)Parameters
leftFilterablePreference?rightFilterablePreference?
Returns
operator !=(FilterablePreference?, FilterablePreference?)
public static bool operator !=(FilterablePreference? left, FilterablePreference? right)Parameters
leftFilterablePreference?rightFilterablePreference?
Returns
operator !=(FilterablePreference?, FilterablePreference?)
public static bool operator !=(FilterablePreference? left, FilterablePreference? right)Parameters
leftFilterablePreference?rightFilterablePreference?
Returns
operator !=(FilterablePreference?, FilterablePreference?)
public static bool operator !=(FilterablePreference? left, FilterablePreference? right)Parameters
leftFilterablePreference?rightFilterablePreference?