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)
417
context.Args.Add(host.Layout.
ProducerUdsPath
);
Aspire.Hosting.Tests (11)
Dcp\DcpExecutorTests.cs (3)
9798
Assert.Equal(hosts[i].Layout.
ProducerUdsPath
, spec!.UdsPath);
9859
Assert.Equal(host.Layout.
ProducerUdsPath
, exe.Spec.Terminal!.UdsPath);
9903
Assert.Equal(host.Layout.
ProducerUdsPath
, container.Spec.Terminal!.UdsPath);
WithTerminalTests.cs (8)
320
h.Layout.
ProducerUdsPath
,
334
File.WriteAllText(host.Layout.
ProducerUdsPath
, string.Empty);
1015
host.Layout.
ProducerUdsPath
,
1067
Assert.NotEmpty(single.Layout.
ProducerUdsPath
);
1092
Assert.StartsWith(hosts[i].Layout.ReplicaId + ".", Path.GetFileName(hosts[i].Layout.
ProducerUdsPath
));
1140
Assert.Equal(expectedDirectory, Path.GetDirectoryName(host.Layout.
ProducerUdsPath
));
1145
Assert.StartsWith(host.Layout.ReplicaId + ".", Path.GetFileName(host.Layout.
ProducerUdsPath
));
1224
Assert.Contains(host.Layout.
ProducerUdsPath
, args);