code cleanup
This commit is contained in:
@@ -1,15 +1,9 @@
|
|||||||
using Pilz.Plugins;
|
using Pilz.Plugins;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace OwnChar.Plugins
|
namespace OwnChar.Plugins;
|
||||||
|
|
||||||
|
public interface IOwnCharPlugin : IPlugin
|
||||||
{
|
{
|
||||||
public interface IOwnCharPlugin : IPlugin
|
public string ID { get; }
|
||||||
{
|
public object? GetApi();
|
||||||
public string ID { get; }
|
|
||||||
public object? GetApi();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,12 +1,5 @@
|
|||||||
using System;
|
namespace OwnChar.Plugins;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace OwnChar.Plugins
|
public class OwnCharPluginInitParams
|
||||||
{
|
{
|
||||||
public class OwnCharPluginInitParams
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,10 +1,8 @@
|
|||||||
using Pilz.Plugins;
|
using Pilz.Plugins;
|
||||||
using System.Reflection;
|
|
||||||
|
|
||||||
namespace OwnChar.Plugins
|
namespace OwnChar.Plugins;
|
||||||
|
|
||||||
|
public class OwnCharPlugins : PluginManager<IOwnCharPlugin, PluginRuntimeInfo<IOwnCharPlugin>>
|
||||||
{
|
{
|
||||||
public class OwnCharPlugins : PluginManager<IOwnCharPlugin, PluginRuntimeInfo<IOwnCharPlugin>>
|
public static OwnCharPlugins Instance { get; } = new();
|
||||||
{
|
|
||||||
public static OwnCharPlugins Instance { get; } = new();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user