| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- using GreenTree.Nachtragsmanagement.Core.Domain.Misc;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace GreenTree.Nachtragsmanagement.Core.Plugins
- {
- public interface INotificationPlugin
- {
- /// <summary>
- /// Id
- /// </summary>
- Guid Id { get; }
- /// <summary>
- /// System name
- /// </summary>
- string SystemName { get; }
- /// <summary>
- /// List of available notification jobs
- /// </summary>
- List<NotificationJob> AvailableNotificationJobs { get; }
- /// <summary>
- /// Displayed name
- /// </summary>
- string Name { get; }
- /// <summary>
- /// Further description on how this plugin works
- /// </summary>
- string Description { get; }
- /// <summary>
- /// Process all mail notifications registered for that plugin
- /// </summary>
- /// <param name="mailNotifications">The notifications which shall be generated.</param>
- void ProcessNotifications(IEnumerable<MailNotification> mailNotifications);
- }
- }
|