add a simple plugin system
This commit is contained in:
18
Pilz.Plugins.Advanced/PluginFunctionSimpleParamter.cs
Normal file
18
Pilz.Plugins.Advanced/PluginFunctionSimpleParamter.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Pilz.Plugins.Advanced
|
||||
{
|
||||
public sealed class PluginFunctionSimpleParamter : PluginFunctionParameter
|
||||
{
|
||||
public object?[]? Params { get; init; }
|
||||
|
||||
public PluginFunctionSimpleParamter(params object?[]? @params)
|
||||
{
|
||||
Params = @params;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user