Class Preferences
- Namespace
- idunno.Bluesky.Chat.Notifications
- Assembly
- idunno.Bluesky.dll
Encapsulates notification preferences for chats
public sealed record Preferences : IEquatable<Preferences>Inheritance
Implements
Inherited Members
Constructors
Preferences(Preference, Preference)
Creates a new instance of idunno.Bluesky.Chat.Notifications.Preferences.
[JsonConstructor]
public Preferences(Preference chat, Preference chatRequest)Parameters
chatPreference-
The chat notification preference.
chatRequestPreference-
The chat request notification preference.
Preferences(Preference, Preference)
Creates a new instance of idunno.Bluesky.Chat.Notifications.Preferences.
[JsonConstructor]
public Preferences(Preference chat, Preference chatRequest)Parameters
chatPreference-
The chat notification preference.
chatRequestPreference-
The chat request notification preference.
Preferences(Preference, Preference)
Creates a new instance of idunno.Bluesky.Chat.Notifications.Preferences.
[JsonConstructor]
public Preferences(Preference chat, Preference chatRequest)Parameters
chatPreference-
The chat notification preference.
chatRequestPreference-
The chat request notification preference.
Properties
Chat
Gets or sets the chat notification preference.
[JsonRequired]
public Preference Chat { get; set; }Property Value
Chat
Gets or sets the chat notification preference.
[JsonRequired]
public Preference Chat { get; set; }Property Value
Chat
Gets or sets the chat notification preference.
[JsonRequired]
public Preference Chat { get; set; }Property Value
ChatRequest
Gets or sets the chat request notification preference.
[JsonRequired]
public Preference ChatRequest { get; set; }Property Value
ChatRequest
Gets or sets the chat request notification preference.
[JsonRequired]
public Preference ChatRequest { get; set; }Property Value
ChatRequest
Gets or sets the chat request notification preference.
[JsonRequired]
public Preference ChatRequest { get; set; }Property Value
Methods
<Clone>$()
public Preferences <Clone>$()Returns
<Clone>$()
public Preferences <Clone>$()Returns
<Clone>$()
public Preferences <Clone>$()Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(Preferences?)
public bool Equals(Preferences? other)Parameters
otherPreferences?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(Preferences?)
public bool Equals(Preferences? other)Parameters
otherPreferences?
Returns
Equals(object?)
public override bool Equals(object? obj)Parameters
objobject?
Returns
Equals(Preferences?)
public bool Equals(Preferences? other)Parameters
otherPreferences?
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 ==(Preferences?, Preferences?)
public static bool operator ==(Preferences? left, Preferences? right)Parameters
leftPreferences?rightPreferences?
Returns
operator ==(Preferences?, Preferences?)
public static bool operator ==(Preferences? left, Preferences? right)Parameters
leftPreferences?rightPreferences?
Returns
operator ==(Preferences?, Preferences?)
public static bool operator ==(Preferences? left, Preferences? right)Parameters
leftPreferences?rightPreferences?
Returns
operator !=(Preferences?, Preferences?)
public static bool operator !=(Preferences? left, Preferences? right)Parameters
leftPreferences?rightPreferences?
Returns
operator !=(Preferences?, Preferences?)
public static bool operator !=(Preferences? left, Preferences? right)Parameters
leftPreferences?rightPreferences?
Returns
operator !=(Preferences?, Preferences?)
public static bool operator !=(Preferences? left, Preferences? right)Parameters
leftPreferences?rightPreferences?