4 instantiations of DcpDependencyCheck
Aspire.Hosting.Tests (4)
Dcp\DcpHostNotificationTests.cs (4)
775var dependencyCheck = new DcpDependencyCheck(dcpOptions); 801var dcpHost = CreateDcpHostForDependencyCheckTests(dcpOptions, new DcpDependencyCheck(dcpOptions), model); 819var dependencyCheck = new DcpDependencyCheck(Options.Create(new DcpOptions { CliPath = cliPath, DependencyCheckTimeout = 10 })); 847var dependencyCheck = new DcpDependencyCheck(dcpOptions);
13 references to DcpDependencyCheck
Aspire.Hosting (5)
Dcp\ContainerCreator.cs (1)
298DcpDependencyCheck.CheckDcpInfoAndLogErrors(logger, _options.Value, dcpInfo);
Dcp\DcpDependencyCheck.cs (1)
190GetCurrentPackageVersion(typeof(DcpDependencyCheck).Assembly)
Dcp\DcpHost.cs (2)
119DcpDependencyCheck.CheckDcpInfoAndLogErrors(_logger, _dcpOptions, dcpInfo, throwIfUnhealthy: requireContainerRuntimeInitialization); 674var (message, linkUrl) = DcpDependencyCheck.BuildContainerRuntimeUnhealthyMessage(containerRuntime);
DistributedApplicationBuilder.cs (1)
623_innerBuilder.Services.AddSingleton<IDcpDependencyCheckService, DcpDependencyCheck>();
Aspire.Hosting.Tests (8)
Dcp\DcpDependencyCheckTests.cs (5)
29var (message, linkUrl) = DcpDependencyCheck.BuildContainerRuntimeUnhealthyMessage("docker"); 32() => DcpDependencyCheck.CheckDcpInfoAndLogErrors(logger, options, dcpInfo, throwIfUnhealthy: true)); 62() => DcpDependencyCheck.CheckDcpInfoAndLogErrors(logger, options, dcpInfo, throwIfUnhealthy: true)); 91var (message, linkUrl) = DcpDependencyCheck.BuildContainerRuntimeUnhealthyMessage("docker"); 94() => DcpDependencyCheck.CheckDcpInfoAndLogErrors(logger, options, dcpInfo, throwIfUnhealthy: true));
Dcp\DcpHostNotificationTests.cs (3)
775var dependencyCheck = new DcpDependencyCheck(dcpOptions); 819var dependencyCheck = new DcpDependencyCheck(Options.Create(new DcpOptions { CliPath = cliPath, DependencyCheckTimeout = 10 })); 847var dependencyCheck = new DcpDependencyCheck(dcpOptions);