public ApplicationHost(IHostInitializer initializer, IHostStartWarmup startWarmup) { _initializer = initializer ?? throw new ArgumentNullException(nameof(initializer)); _startWarmup = startWarmup ?? throw new ArgumentNullException(nameof(startWarmup)); State = HostState.Unknown; }
public ApplicationHost(IHostInitializer initializer) : this(initializer, new DefaultHostStartWarmup()) { }