Utilize built-in composite support in Autofac for `IGlobalSetupTask` implementations.pull/311/head
parent
e745bc32d0
commit
11f7c7ed02
@ -1,6 +1,9 @@
|
||||
using JetBrains.Annotations;
|
||||
|
||||
namespace Recyclarr.Cli.Console.Setup;
|
||||
|
||||
public class GlobalSetupTaskExecutor(IOrderedEnumerable<IGlobalSetupTask> tasks)
|
||||
[UsedImplicitly]
|
||||
public class CompositeGlobalSetupTask(IOrderedEnumerable<IGlobalSetupTask> tasks) : IGlobalSetupTask
|
||||
{
|
||||
public void OnStart()
|
||||
{
|
Loading…
Reference in new issue