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)
279
UdsPath = terminalAnnotation.TerminalHosts[0].Layout.
ProducerUdsPath
,
Dcp\ExecutableCreator.cs (1)
391
UdsPath = terminalAnnotation.TerminalHosts[replicaIndex].Layout.
ProducerUdsPath
,
TerminalResourceBuilderExtensions.cs (1)
390
context.Args.Add(host.Layout.
ProducerUdsPath
);
Aspire.Hosting.Tests (11)
Dcp\DcpExecutorTests.cs (3)
11150
Assert.Equal(hosts[i].Layout.
ProducerUdsPath
, spec!.UdsPath);
11211
Assert.Equal(host.Layout.
ProducerUdsPath
, exe.Spec.Terminal!.UdsPath);
11255
Assert.Equal(host.Layout.
ProducerUdsPath
, container.Spec.Terminal!.UdsPath);
WithTerminalTests.cs (8)
397
h.Layout.
ProducerUdsPath
,
411
File.WriteAllText(host.Layout.
ProducerUdsPath
, string.Empty);
1094
host.Layout.
ProducerUdsPath
,
1146
Assert.NotEmpty(single.Layout.
ProducerUdsPath
);
1171
Assert.StartsWith(hosts[i].Layout.ReplicaId + ".", Path.GetFileName(hosts[i].Layout.
ProducerUdsPath
));
1219
Assert.Equal(expectedDirectory, Path.GetDirectoryName(host.Layout.
ProducerUdsPath
));
1224
Assert.StartsWith(host.Layout.ReplicaId + ".", Path.GetFileName(host.Layout.
ProducerUdsPath
));
1303
Assert.Contains(host.Layout.
ProducerUdsPath
, args);