summaryrefslogtreecommitdiffstats
path: root/src/main.lib/Services/PluginService.cs
diff options
context:
space:
mode:
authorWouterTinus <wouter.tinus@gmail.com>2019-09-10 20:47:47 +0200
committerWouterTinus <wouter.tinus@gmail.com>2019-09-10 20:47:47 +0200
commitb196163cc13190998a0a8eff42dbcfeb5796ba82 (patch)
treedcf0e21121c4fffa46688dcc785835df6226d5b8 /src/main.lib/Services/PluginService.cs
parent80e7006632816a64991cce210d0b65e104ff0733 (diff)
downloadletsencrypt-win-simple-b196163cc13190998a0a8eff42dbcfeb5796ba82.zip
letsencrypt-win-simple-b196163cc13190998a0a8eff42dbcfeb5796ba82.tar.gz
letsencrypt-win-simple-b196163cc13190998a0a8eff42dbcfeb5796ba82.tar.bz2
async install
Diffstat (limited to 'src/main.lib/Services/PluginService.cs')
-rw-r--r--src/main.lib/Services/PluginService.cs22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/main.lib/Services/PluginService.cs b/src/main.lib/Services/PluginService.cs
index c5a491c..6e067f9 100644
--- a/src/main.lib/Services/PluginService.cs
+++ b/src/main.lib/Services/PluginService.cs
@@ -69,17 +69,17 @@ namespace PKISharp.WACS.Services
internal void Configure(ContainerBuilder builder)
{
- _targetOptionFactories.ForEach(t => { builder.RegisterType(t).SingleInstance(); });
- _validationOptionFactories.ForEach(t => { builder.RegisterType(t).SingleInstance(); });
- _csrOptionFactories.ForEach(t => { builder.RegisterType(t).SingleInstance(); });
- _storeOptionFactories.ForEach(t => { builder.RegisterType(t).SingleInstance(); });
- _installationOptionFactories.ForEach(t => { builder.RegisterType(t).SingleInstance(); });
-
- _target.ForEach(ip => { builder.RegisterType(ip); });
- _validation.ForEach(ip => { builder.RegisterType(ip); });
- _csr.ForEach(ip => { builder.RegisterType(ip); });
- _store.ForEach(ip => { builder.RegisterType(ip); });
- _installation.ForEach(ip => { builder.RegisterType(ip); });
+ _targetOptionFactories.ForEach(t => builder.RegisterType(t).SingleInstance());
+ _validationOptionFactories.ForEach(t => builder.RegisterType(t).SingleInstance());
+ _csrOptionFactories.ForEach(t => builder.RegisterType(t).SingleInstance());
+ _storeOptionFactories.ForEach(t => builder.RegisterType(t).SingleInstance());
+ _installationOptionFactories.ForEach(t => builder.RegisterType(t).SingleInstance());
+
+ _target.ForEach(ip => builder.RegisterType(ip));
+ _validation.ForEach(ip => builder.RegisterType(ip));
+ _csr.ForEach(ip => builder.RegisterType(ip));
+ _store.ForEach(ip => builder.RegisterType(ip));
+ _installation.ForEach(ip => builder.RegisterType(ip));
}
private List<T> GetFactories<T>(List<Type> source, ILifetimeScope scope) where T : IPluginOptionsFactory => source.Select(scope.Resolve).OfType<T>().OrderBy(x => x.Order).ToList();