blob: b50dfc613fde923ba955a4549a3a546f9007a8fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
using PKISharp.WACS.Plugins.Interfaces;
using PKISharp.WACS.Services;
using PKISharp.WACS.Services.Serialization;
using System;
namespace PKISharp.WACS.Plugins.Base.Options
{
public class OrderPluginOptions : PluginOptions
{
public override string Name => throw new NotImplementedException();
public override string Description => throw new NotImplementedException();
public override Type Instance => throw new NotImplementedException();
}
public abstract class OrderPluginOptions<T> : OrderPluginOptions where T : IOrderPlugin
{
public abstract override string Name { get; }
public abstract override string Description { get; }
public override void Show(IInputService input)
{
input.Show("Order");
input.Show("Plugin", $"{Name} - ({Description})", level: 1);
}
public override Type Instance => typeof(T);
}
}
|