コード例 #1
0
        public ApplicationHost(IHostInitializer initializer, IHostStartWarmup startWarmup)
        {
            _initializer = initializer ?? throw new ArgumentNullException(nameof(initializer));
            _startWarmup = startWarmup ?? throw new ArgumentNullException(nameof(startWarmup));

            State = HostState.Unknown;
        }
コード例 #2
0
 public ApplicationHost(IHostInitializer initializer)
     : this(initializer, new DefaultHostStartWarmup())
 {
 }