IW4M-Admin/SharedLibraryCore/Interfaces/IPluginImporter.cs

24 lines
787 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
namespace SharedLibraryCore.Interfaces
{
/// <summary>
2022-01-26 11:32:16 -05:00
/// defines the capabilities of the plugin importer
/// </summary>
public interface IPluginImporter
2022-01-26 11:32:16 -05:00
{
/// <summary>
2022-01-26 11:32:16 -05:00
/// discovers C# assembly plugin and command types
/// </summary>
/// <returns>tuple of IPlugin implementation type definitions, and IManagerCommand type definitions</returns>
(IEnumerable<Type>, IEnumerable<Type>, IEnumerable<Type>) DiscoverAssemblyPluginImplementations();
/// <summary>
2022-01-26 11:32:16 -05:00
/// discovers the script plugins
/// </summary>
/// <returns>initialized script plugin collection</returns>
2022-02-09 15:45:28 -05:00
IEnumerable<IPlugin> DiscoverScriptPlugins();
}
}