| 1234567891011121314151617181920212223242526272829303132333435363738 |
- 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>
- /// 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);
- }
- }
|