summaryrefslogtreecommitdiffstats
path: root/src/main.lib/Services/Interfaces/IPluginService.cs
diff options
context:
space:
mode:
authorWouter Tinus <wouter.tinus@gmail.com>2020-04-22 20:03:51 +0200
committerWouter Tinus <wouter.tinus@gmail.com>2020-04-22 20:03:51 +0200
commitd68723f79ba1da231c05dfe3e533f501f353c8cc (patch)
treee7ee757c2aef6504c7afa48272ae5d785857d756 /src/main.lib/Services/Interfaces/IPluginService.cs
parent0f98d4581cd1d269d435658c1125e7d4bcc94bd3 (diff)
parent06ef5360b246132c14554229020427ff3c5d0ac8 (diff)
downloadletsencrypt-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/Services/Interfaces/IPluginService.cs')
-rw-r--r--src/main.lib/Services/Interfaces/IPluginService.cs16
1 files changed, 4 insertions, 12 deletions
diff --git a/src/main.lib/Services/Interfaces/IPluginService.cs b/src/main.lib/Services/Interfaces/IPluginService.cs
index 790c644..4ef77b4 100644
--- a/src/main.lib/Services/Interfaces/IPluginService.cs
+++ b/src/main.lib/Services/Interfaces/IPluginService.cs
@@ -8,17 +8,9 @@ namespace PKISharp.WACS.Services
{
public interface IPluginService
{
- ICsrPluginOptionsFactory CsrPluginFactory(ILifetimeScope scope, string name);
- List<ICsrPluginOptionsFactory> CsrPluginOptionsFactories(ILifetimeScope scope);
- List<IInstallationPluginOptionsFactory> InstallationPluginFactories(ILifetimeScope scope);
- IInstallationPluginOptionsFactory InstallationPluginFactory(ILifetimeScope scope, string name);
- List<IArgumentsProvider> OptionProviders();
- List<Type> PluginOptionTypes<T>() where T : PluginOptions;
- List<IStorePluginOptionsFactory> StorePluginFactories(ILifetimeScope scope);
- IStorePluginOptionsFactory StorePluginFactory(ILifetimeScope scope, string name);
- List<ITargetPluginOptionsFactory> TargetPluginFactories(ILifetimeScope scope);
- ITargetPluginOptionsFactory TargetPluginFactory(ILifetimeScope scope, string name);
- List<IValidationPluginOptionsFactory> ValidationPluginFactories(ILifetimeScope scope);
- IValidationPluginOptionsFactory ValidationPluginFactory(ILifetimeScope scope, string type, string name);
+ IEnumerable<T> GetFactories<T>(ILifetimeScope scope) where T: IPluginOptionsFactory;
+ T GetFactory<T>(ILifetimeScope scope, string name, string? parameter = null) where T : IPluginOptionsFactory;
+ IEnumerable<IArgumentsProvider> ArgumentsProviders();
+ IEnumerable<Type> PluginOptionTypes<T>() where T : PluginOptions;
}
}