IPlugin.cs 709 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace GreenTree.Nachtragsmanagement.Core.Plugins
  7. {
  8. /// <summary>
  9. /// Interface denoting plug-in attributes that are displayed throughout
  10. /// the editing interface.
  11. /// </summary>
  12. public interface IPlugin
  13. {
  14. /// <summary>
  15. /// Gets or sets the plugin descriptor
  16. /// </summary>
  17. PluginDescriptor PluginDescriptor { get; set; }
  18. /// <summary>
  19. /// Install plugin
  20. /// </summary>
  21. void Install();
  22. /// <summary>
  23. /// Uninstall plugin
  24. /// </summary>
  25. void Uninstall();
  26. }
  27. }