public BackgroundService(
            IEnumerable<IBackgroundTask> tasks,
            ITransactionManager transactionManager,
            ShellSettings shellSettings,
            IBackgroundHttpContextFactory backgroundHttpContextFactory) {

            _tasks = tasks;
            _transactionManager = transactionManager;
            _shellName = shellSettings.Name;
            Logger = NullLogger.Instance;
        }
 public BackgroundService(
     IEnumerable <IBackgroundTask> tasks,
     ITransactionManager transactionManager,
     ShellSettings shellSettings,
     IBackgroundHttpContextFactory backgroundHttpContextFactory)
 {
     _tasks = tasks;
     _transactionManager = transactionManager;
     _shellName          = shellSettings.Name;
     Logger = NullLogger.Instance;
 }