1 write to _dcpOptions
Aspire.Hosting (1)
Dcp\DcpHost.cs (1)
50
_dcpOptions
= dcpOptions.Value;
10 references to _dcpOptions
Aspire.Hosting (10)
Dcp\DcpHost.cs (10)
83
bool requireContainerRuntimeInitialization =
_dcpOptions
.ContainerRuntimeInitializationTimeout > TimeSpan.Zero;
87
timeoutCancellation.CancelAfter(
_dcpOptions
.ContainerRuntimeInitializationTimeout);
113
DcpDependencyCheck.CheckDcpInfoAndLogErrors(_logger,
_dcpOptions
, dcpInfo, throwIfUnhealthy: requireContainerRuntimeInitialization);
189
var dcpExePath =
_dcpOptions
.CliPath;
196
if (!string.IsNullOrEmpty(
_dcpOptions
.ContainerRuntime))
198
arguments += $" --container-runtime \"{
_dcpOptions
.ContainerRuntime}\"";
212
if (!string.IsNullOrEmpty(
_dcpOptions
.ExtensionsPath))
214
dcpProcessSpec.EnvironmentVariables.Add("DCP_EXTENSIONS_PATH",
_dcpOptions
.ExtensionsPath);
217
if (!string.IsNullOrEmpty(
_dcpOptions
.BinPath))
219
dcpProcessSpec.EnvironmentVariables.Add("DCP_BIN_PATH",
_dcpOptions
.BinPath);