Ejemplo n.º 1
0
        public IHost Build()
        {
            _logger.LogDebug("HostBuilder > Building host > started");
            var host = new VerboseHost(_hostBuilder.Build(), _logger);

            _logger.LogDebug("HostBuilder > Building host > ended");

            return(host);
        }
Ejemplo n.º 2
0
        public IHost Build()
        {
            _diagnostics.RegisterLapTime("Host building");
            var host = new DiagnosticsHost(_hostBuilder.Build(), _moduleManager, _bootSequenceFactory, _diagnostics, _runtimeFlags, _logger);

            _diagnostics.RegisterLapTime("Host built");

            return(host);
        }