Projektdateien hinzufügen.
This commit is contained in:
15
OwnChar.Plugins/IOwnCharPlugin.cs
Normal file
15
OwnChar.Plugins/IOwnCharPlugin.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using Pilz.Plugins;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace OwnChar.Plugins
|
||||
{
|
||||
public interface IOwnCharPlugin : IPlugin
|
||||
{
|
||||
public string ID { get; }
|
||||
public object? GetApi();
|
||||
}
|
||||
}
|
||||
13
OwnChar.Plugins/OwnChar.Plugins.csproj
Normal file
13
OwnChar.Plugins/OwnChar.Plugins.csproj
Normal file
@@ -0,0 +1,13 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Pilz.Plugins" Version="2.1.5" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
8
OwnChar.Plugins/OwnCharPlugins.cs
Normal file
8
OwnChar.Plugins/OwnCharPlugins.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
using Pilz.Plugins;
|
||||
|
||||
namespace OwnChar.Plugins
|
||||
{
|
||||
public class OwnCharPlugins : PluginManager<IOwnCharPlugin, PluginRuntimeInfo>
|
||||
{
|
||||
}
|
||||
}
|
||||
13
OwnChar.Plugins/PluginRuntimeInfo.cs
Normal file
13
OwnChar.Plugins/PluginRuntimeInfo.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using Pilz.Plugins;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace OwnChar.Plugins
|
||||
{
|
||||
public class PluginRuntimeInfo : PluginRuntimeInfo<IOwnCharPlugin>
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user