using System; using System.Windows; namespace ServerManagerTool.Plugin.Common { public interface IPlugin { /// /// Gets a values indicating if the plugin can be used /// bool Enabled { get; } /// /// Gets a value indicating the code of the plugin /// string PluginCode { get; } /// /// Gets a value indicating the name of the plugin /// string PluginName { get; } /// /// Gets a value indicating the version of the plugin /// Version PluginVersion { get; } /// /// Gets a value that indicates if the plugin has a configuration form. /// bool HasConfigForm { get; } /// /// Performs any initialization for the plugin. /// void Initialize(); /// /// Opens the configuration form. /// /// The owner window. void OpenConfigForm(Window owner); } }