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