1 write to ProducerUdsPath
Aspire.Hosting (1)
ApplicationModel\TerminalHostLayout.cs (1)
42
ProducerUdsPath
= producerUdsPath;
14 references to ProducerUdsPath
Aspire.Hosting (3)
Dcp\ContainerCreator.cs (1)
371
UdsPath = terminalAnnotation.TerminalHosts[0].Layout.
ProducerUdsPath
,
Dcp\ExecutableCreator.cs (1)
306
UdsPath = terminalAnnotation.TerminalHosts[replicaIndex].Layout.
ProducerUdsPath
,
TerminalResourceBuilderExtensions.cs (1)
402
context.Args.Add(host.Layout.
ProducerUdsPath
);
Aspire.Hosting.Tests (11)
Dcp\DcpExecutorTests.cs (3)
9988
Assert.Equal(hosts[i].Layout.
ProducerUdsPath
, spec!.UdsPath);
10049
Assert.Equal(host.Layout.
ProducerUdsPath
, exe.Spec.Terminal!.UdsPath);
10093
Assert.Equal(host.Layout.
ProducerUdsPath
, container.Spec.Terminal!.UdsPath);
WithTerminalTests.cs (8)
369
h.Layout.
ProducerUdsPath
,
383
File.WriteAllText(host.Layout.
ProducerUdsPath
, string.Empty);
1064
host.Layout.
ProducerUdsPath
,
1116
Assert.NotEmpty(single.Layout.
ProducerUdsPath
);
1141
Assert.StartsWith(hosts[i].Layout.ReplicaId + ".", Path.GetFileName(hosts[i].Layout.
ProducerUdsPath
));
1189
Assert.Equal(expectedDirectory, Path.GetDirectoryName(host.Layout.
ProducerUdsPath
));
1194
Assert.StartsWith(host.Layout.ReplicaId + ".", Path.GetFileName(host.Layout.
ProducerUdsPath
));
1273
Assert.Contains(host.Layout.
ProducerUdsPath
, args);