Beispiel #1
0
        public static Task Restart(this ILiteEngine liteEngine)
        {
            liteEngine.Stop();
            liteEngine.Start();

            return(Task.CompletedTask);
        }
Beispiel #2
0
        public override Task StartAsync(CancellationToken cancellationToken)
        {
            _logger.LogInformation("Initializing LITE engine");
            //_liteEngine.init();

            _logger.LogInformation("Starting LITE engine...");

            _liteEngine.Start();
            return(base.StartAsync(cancellationToken));
        }