コード例 #1
0
        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;
        }
コード例 #2
0
 public ValueGeneratorProvider(IServiceProvider serviceProvider, IValueGeneratorManager valueGeneratorManager)
 {
     this.serviceProvider  = serviceProvider;
     valueGeneratorFactory = valueGeneratorManager;
 }