INotificationService.cs 911 B

12345678910111213141516171819202122232425262728
  1. using GreenTree.Nachtragsmanagement.Core.Plugins;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace GreenTree.Nachtragsmanagement.Services.Misc
  8. {
  9. public interface INotificationService
  10. {
  11. /// <summary>
  12. /// Loads all implementations of the INotificationPlugin
  13. /// </summary>
  14. IEnumerable<INotificationPlugin> LoadNotificationPlugins();
  15. /// <summary>
  16. /// Searches for all implementations of the INotificationPlugin
  17. /// </summary>
  18. IEnumerable<INotificationPlugin> GetNotificationPlugins();
  19. /// <summary>
  20. /// Gets a notification plugin by a specific name
  21. /// </summary>
  22. /// <param name="pluginSystemName">SystemName of notification plugin.</param>
  23. INotificationPlugin GetNotificationPlugin(string pluginSystemName);
  24. }
  25. }