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
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
Delivery
How the user receives it.
public required UserNoticeDelivery Delivery { get; init; }
Property Value
DeliveryChosen
True when Delivery is the user's own choice rather than a default.
public bool DeliveryChosen { get; init; }
Property Value
Enabled
Whether the user receives the notice.
public required bool Enabled { get; init; }
Property Value
EnabledChosen
True when Enabled is the user's own choice rather than a default.
public bool EnabledChosen { get; init; }
Property Value
Notice
The notice.
public required UserNoticeType Notice { get; init; }
Property Value
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; }