Interface INotifications
- Namespace
- BpNexT.Actions.Abstractions
- Assembly
- BpNexT.Actions.Abstractions.dll
Sends notifications to the administrators' notification center (and whatever channels they routed the module category to — e-mail, Teams, …). Occurrences sharing a coalesce key increment one open notification instead of stacking new ones; resolving the key closes it, so the next occurrence starts fresh. Use a stable key for recurring conditions ("sync backlog") and no key for one-off messages ("export finished").
public interface INotifications
Methods
- ResolveAsync(string, CancellationToken)
Marks the condition behind a coalesce key as cleared ("backlog is gone").
- SendAsync(string, string, BpNotificationSeverity, string?, CancellationToken)
Sends one notification; occurrences sharing a coalesce key fold into a single open entry.