Table of Contents

Class NonFilterablePreference

Namespace
idunno.Bluesky.Notifications.PreferenceTypes
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

list bool

A flag indicating whether the notification type should be shown in the user's notifications list.

push bool

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

list bool

A flag indicating whether the notification type should be shown in the user's notifications list.

push bool

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

list bool

A flag indicating whether the notification type should be shown in the user's notifications list.

push bool

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

bool

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

bool

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

bool

Push

Gets or sets a flag indicating whether the notification type should be pushed.

public bool Push { get; set; }

Property Value

bool

Push

Gets or sets a flag indicating whether the notification type should be pushed.

public bool Push { get; set; }

Property Value

bool

Push

Gets or sets a flag indicating whether the notification type should be pushed.

public bool Push { get; set; }

Property Value

bool

Methods

<Clone>$()

public NonFilterablePreference <Clone>$()

Returns

NonFilterablePreference

<Clone>$()

public NonFilterablePreference <Clone>$()

Returns

NonFilterablePreference

<Clone>$()

public NonFilterablePreference <Clone>$()

Returns

NonFilterablePreference

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(NonFilterablePreference?)

public bool Equals(NonFilterablePreference? other)

Parameters

other NonFilterablePreference?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(NonFilterablePreference?)

public bool Equals(NonFilterablePreference? other)

Parameters

other NonFilterablePreference?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(NonFilterablePreference?)

public bool Equals(NonFilterablePreference? other)

Parameters

other NonFilterablePreference?

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

GetHashCode()

public override int GetHashCode()

Returns

int

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

ToString()

public override string ToString()

Returns

string

ToString()

public override string ToString()

Returns

string

Operators

operator ==(NonFilterablePreference?, NonFilterablePreference?)

public static bool operator ==(NonFilterablePreference? left, NonFilterablePreference? right)

Parameters

left NonFilterablePreference?
right NonFilterablePreference?

Returns

bool

operator ==(NonFilterablePreference?, NonFilterablePreference?)

public static bool operator ==(NonFilterablePreference? left, NonFilterablePreference? right)

Parameters

left NonFilterablePreference?
right NonFilterablePreference?

Returns

bool

operator ==(NonFilterablePreference?, NonFilterablePreference?)

public static bool operator ==(NonFilterablePreference? left, NonFilterablePreference? right)

Parameters

left NonFilterablePreference?
right NonFilterablePreference?

Returns

bool

operator !=(NonFilterablePreference?, NonFilterablePreference?)

public static bool operator !=(NonFilterablePreference? left, NonFilterablePreference? right)

Parameters

left NonFilterablePreference?
right NonFilterablePreference?

Returns

bool

operator !=(NonFilterablePreference?, NonFilterablePreference?)

public static bool operator !=(NonFilterablePreference? left, NonFilterablePreference? right)

Parameters

left NonFilterablePreference?
right NonFilterablePreference?

Returns

bool

operator !=(NonFilterablePreference?, NonFilterablePreference?)

public static bool operator !=(NonFilterablePreference? left, NonFilterablePreference? right)

Parameters

left NonFilterablePreference?
right NonFilterablePreference?

Returns

bool