c5375b661b
broke data out into its own library. may be breaking changes with existing plugins
24 lines
779 B
C#
24 lines
779 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace SharedLibraryCore.Interfaces
|
|
{
|
|
/// <summary>
|
|
/// defines the capabilities of the plugin importer
|
|
/// </summary>
|
|
public interface IPluginImporter
|
|
{
|
|
/// <summary>
|
|
/// 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>
|
|
/// discovers the script plugins
|
|
/// </summary>
|
|
/// <returns>initialized script plugin collection</returns>
|
|
IEnumerable<IPlugin> DiscoverScriptPlugins();
|
|
}
|
|
}
|