diff options
author | Wouter Tinus <wouter.tinus@gmail.com> | 2020-04-22 20:03:51 +0200 |
---|---|---|
committer | Wouter Tinus <wouter.tinus@gmail.com> | 2020-04-22 20:03:51 +0200 |
commit | d68723f79ba1da231c05dfe3e533f501f353c8cc (patch) | |
tree | e7ee757c2aef6504c7afa48272ae5d785857d756 /src/main.lib/Plugins/OrderPlugins/Host/HostOptionsFactory.cs | |
parent | 0f98d4581cd1d269d435658c1125e7d4bcc94bd3 (diff) | |
parent | 06ef5360b246132c14554229020427ff3c5d0ac8 (diff) | |
download | letsencrypt-win-simple-d68723f79ba1da231c05dfe3e533f501f353c8cc.zip letsencrypt-win-simple-d68723f79ba1da231c05dfe3e533f501f353c8cc.tar.gz letsencrypt-win-simple-d68723f79ba1da231c05dfe3e533f501f353c8cc.tar.bz2 |
merge with latest
Diffstat (limited to 'src/main.lib/Plugins/OrderPlugins/Host/HostOptionsFactory.cs')
-rw-r--r-- | src/main.lib/Plugins/OrderPlugins/Host/HostOptionsFactory.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main.lib/Plugins/OrderPlugins/Host/HostOptionsFactory.cs b/src/main.lib/Plugins/OrderPlugins/Host/HostOptionsFactory.cs new file mode 100644 index 0000000..719f1eb --- /dev/null +++ b/src/main.lib/Plugins/OrderPlugins/Host/HostOptionsFactory.cs @@ -0,0 +1,14 @@ +using PKISharp.WACS.DomainObjects; +using PKISharp.WACS.Plugins.Base.Factories; +using PKISharp.WACS.Services; +using System.Threading.Tasks; + +namespace PKISharp.WACS.Plugins.OrderPlugins +{ + class HostOptionsFactory : OrderPluginOptionsFactory<Host, HostOptions> + { + public override bool CanProcess(Target target) => true; + public override Task<HostOptions> Aquire(IInputService inputService, RunLevel runLevel) => Default(); + public override Task<HostOptions> Default() => Task.FromResult(new HostOptions()); + } +} |