private static async Task <int> RunProgram(NeuraliumOptions cmdOptions) { Bootstrap boostrapper = new Bootstrap(); boostrapper.SetCmdOptions(cmdOptions); return(await boostrapper.Run()); }
public NeuraliumApp(IServiceProvider serviceProvider, IApplicationLifetime applicationLifetime, IRpcService rpcService, IOptions <AppSettings> appSettings, NeuraliumOptions options, IBlockchainTimeService timeService, IBlockchainNetworkingService networkingService, IGlobalsService globalService) : base(serviceProvider, applicationLifetime, rpcService, appSettings, options, timeService, networkingService, globalService) { }
public NeuraliumService(IApplicationLifetime ApplicationLifetime, INeuraliumApp neuraliumApp, NeuraliumOptions options) { this.applicationLifetime = ApplicationLifetime; this.neuraliumApp = neuraliumApp; this.options = options; }
public void SetCmdOptions(NeuraliumOptions cmdOptions) { this.cmdOptions = cmdOptions; }