Table of Contents

Class UserNoticeChoice

Namespace
Tharga.Team
Assembly
Tharga.Team.dll

Whether one user receives one notice and how, and where that comes from.

public sealed record UserNoticeChoice : IEquatable<UserNoticeChoice>
Inheritance
UserNoticeChoice
Implements
Inherited Members

Properties

Category

The mail category the notice is sent in.

public required UserMailCategory Category { get; init; }

Property Value

UserMailCategory

CategoryReceives

Whether the user receives the notice's mail category; when false the notice is not sent whatever is chosen here.

public bool CategoryReceives { get; init; }

Property Value

bool

Delivery

How the user receives it.

public required UserNoticeDelivery Delivery { get; init; }

Property Value

UserNoticeDelivery

DeliveryChosen

True when Delivery is the user's own choice rather than a default.

public bool DeliveryChosen { get; init; }

Property Value

bool

Enabled

Whether the user receives the notice.

public required bool Enabled { get; init; }

Property Value

bool

EnabledChosen

True when Enabled is the user's own choice rather than a default.

public bool EnabledChosen { get; init; }

Property Value

bool

Notice

The notice.

public required UserNoticeType Notice { get; init; }

Property Value

UserNoticeType

VariesByTeam

True when the user has not chosen and their teams' defaults differ, so the catalogue's default is shown and each team's applies.

public bool VariesByTeam { get; init; }

Property Value

bool