public Startup( IServiceProvider serviceProvider, IConsoleWrapper <Startup> consoleWrapper, IAppletSettingsManager appletSettingsManager, IValueGeneratorManager valueGeneratorManager, ICommandParser commandParser) { this.serviceProvider = serviceProvider; this.consoleWrapper = consoleWrapper; appletSettingsChangedSubscriber = appletSettingsManager.AppletSettingsChanged(AppletSettingsChanged); appletSettingsManager.UpdateValue(appletSetting => appletSetting.IsRunning, true); this.commandParser = commandParser; }
public ValueGeneratorProvider(IServiceProvider serviceProvider, IValueGeneratorManager valueGeneratorManager) { this.serviceProvider = serviceProvider; valueGeneratorFactory = valueGeneratorManager; }