Beispiel #1
0
    protected override async Task ExecuteAsync(CancellationToken stoppingToken)
    {
        await _runtime.ExecuteAsync(stoppingToken).ConfigureAwait(false);

        // Stop application if this is exited
        _hostLifetime.StopApplication();
    }