Class ForumSubscriptionStateDto
- Namespace
- Builvero.Application.DTOs.Forum
- Assembly
- Builvero.Application.dll
Data transfer object representing the forum subscription state for a user in a project or specific topic.
public class ForumSubscriptionStateDto
- Inheritance
-
ForumSubscriptionStateDto
- Inherited Members
Remarks
This DTO is used to display the current subscription preferences for forum notifications. It indicates whether the user receives all project notifications (global subscription) and/or notifications for a specific topic.
Properties
IsSubscribedToTopic
Gets or sets a value indicating whether the user is subscribed to a specific topic (null if topicId was not provided).
public bool? IsSubscribedToTopic { get; set; }
Property Value
- bool?
- Data transfer object representing the forum subscription state for a user in a project or specific topic.
Remarks
This property has three possible states:
null: No specific topic was queried (only global subscription state was requested)true: User is explicitly subscribed to the topicfalse: User is not subscribed to the topic (but may still receive notifications if ReceiveAllNotifications is true)
ReceiveAllNotifications
Gets or sets a value indicating whether the user receives email notifications for all forum activity in the project.
public bool ReceiveAllNotifications { get; set; }
Property Value
- bool
- Data transfer object representing the forum subscription state for a user in a project or specific topic.
Remarks
When true, the user receives notifications for all new topics and messages in the project. When false, the user only receives notifications for topics they are explicitly subscribed to.