2 implementations of IsInitialized
Microsoft.AspNetCore.Server.Kestrel.Core (2)
HttpsConfigurationService.cs (1)
54bool IHttpsConfigurationService.IsInitialized => _isInitialized || _initializer is not null;
KestrelServer.cs (1)
82public bool IsInitialized => true;
8 references to IsInitialized
InMemory.FunctionalTests (1)
HttpsTests.cs (1)
35mockHttpsConfig.Setup(m => m.IsInitialized).Returns(true);
Microsoft.AspNetCore.Server.Kestrel.Core (4)
IHttpsConfigurationService.cs (1)
16/// scenarios. In normal usage, it will *always* be registered by only be <see cref="IsInitialized"/> if the
KestrelConfigurationLoader.cs (1)
354if (_httpsConfigurationService.IsInitialized && _httpsConfigurationService.LoadDefaultCertificate(ConfigurationReader) is CertificateAndConfig certPair)
KestrelServerOptions.cs (2)
295Debug.Assert(ApplicationServices.GetRequiredService<IHttpsConfigurationService>().IsInitialized, "HTTPS configuration should have been enabled"); 328if (!httpsConfigurationService.IsInitialized)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
KestrelServerTests.cs (1)
34mockHttpsConfig.Setup(m => m.IsInitialized).Returns(true);
Microsoft.AspNetCore.Server.Kestrel.Tests (2)
HttpsConfigurationTests.cs (2)
208Assert.True(host.Services.GetRequiredService<IHttpsConfigurationService>().IsInitialized); 235Assert.False(host.Services.GetRequiredService<IHttpsConfigurationService>().IsInitialized);