IW4M-Admin/SharedLibraryCore/Interfaces/IPluginImporter.cs

24 lines
794 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>
2023-04-04 19:24:13 -04:00
IEnumerable<(Type, string)> DiscoverScriptPlugins();
}
}