1 write to ConsumerUdsPath
Aspire.Hosting (1)
ApplicationModel\TerminalHostLayout.cs (1)
43ConsumerUdsPath = consumerUdsPath;
25 references to ConsumerUdsPath
Aspire.Hosting (4)
ApplicationModel\TerminalResourceSnapshotProperties.cs (1)
53? terminalHosts[replicaIndex].Layout.ConsumerUdsPath
Backchannel\AuxiliaryBackchannelRpcTarget.cs (1)
539ConsumerUdsPath = layout.ConsumerUdsPath,
TerminalResourceBuilderExtensions.cs (2)
264ConsumerSocketPath = layout.ConsumerUdsPath, 405context.Args.Add(host.Layout.ConsumerUdsPath);
Aspire.Hosting.Tests (21)
Backchannel\GetTerminalInfoAsyncTests.cs (8)
77Assert.Equal(hosts[i].Layout.ConsumerUdsPath, result.Replicas[i].ConsumerUdsPath); 142Assert.Equal(hosts[0].Layout.ConsumerUdsPath, result.Replicas[0].ConsumerUdsPath); 160Assert.Equal(hosts[1].Layout.ConsumerUdsPath, result.Replicas[1].ConsumerUdsPath); 193Assert.Equal(hosts[0].Layout.ConsumerUdsPath, result.Replicas[0].ConsumerUdsPath); 194Assert.Equal(hosts[1].Layout.ConsumerUdsPath, result.Replicas[1].ConsumerUdsPath); 222Assert.Equal(hosts[i].Layout.ConsumerUdsPath, summary.Replicas[i].ConsumerUdsPath); 255Assert.Equal(hosts[0].Layout.ConsumerUdsPath, summary.Replicas[0].ConsumerUdsPath); 256Assert.Equal(hosts[1].Layout.ConsumerUdsPath, summary.Replicas[1].ConsumerUdsPath);
Dashboard\DashboardServiceDataTerminalTests.cs (4)
68Assert.Equal(GetTerminalHosts(resource)[0].Layout.ConsumerUdsPath, path.Value.StringValue); 94GetTerminalHosts(resource)[2].Layout.ConsumerUdsPath, 116GetTerminalHosts(resource)[0].Layout.ConsumerUdsPath, 141GetTerminalHosts(resource)[0].Layout.ConsumerUdsPath,
WithTerminalTests.cs (9)
370h.Layout.ConsumerUdsPath, 384File.WriteAllText(host.Layout.ConsumerUdsPath, string.Empty); 450Assert.Equal(host.Layout.ConsumerUdsPath, root.GetProperty("consumerSocketPath").GetString()); 1065host.Layout.ConsumerUdsPath, 1117Assert.NotEmpty(single.Layout.ConsumerUdsPath); 1142Assert.StartsWith(hosts[i].Layout.ReplicaId + ".", Path.GetFileName(hosts[i].Layout.ConsumerUdsPath)); 1190Assert.Equal(expectedDirectory, Path.GetDirectoryName(host.Layout.ConsumerUdsPath)); 1195Assert.StartsWith(host.Layout.ReplicaId + ".", Path.GetFileName(host.Layout.ConsumerUdsPath)); 1274Assert.Contains(host.Layout.ConsumerUdsPath, args);