1 write to ConsumerUdsPath
Aspire.Hosting (1)
ApplicationModel\TerminalHostLayout.cs (1)
43ConsumerUdsPath = consumerUdsPath;
26 references to ConsumerUdsPath
Aspire.Hosting (5)
ApplicationModel\ResourceTerminalCatalog.cs (1)
93ConsumerUdsPath: host.Layout.ConsumerUdsPath,
ApplicationModel\TerminalResourceSnapshotProperties.cs (1)
53? terminalHosts[replicaIndex].Layout.ConsumerUdsPath
Backchannel\AuxiliaryBackchannelRpcTarget.cs (1)
541ConsumerUdsPath = layout.ConsumerUdsPath,
TerminalResourceBuilderExtensions.cs (2)
259ConsumerSocketPath = layout.ConsumerUdsPath, 397context.Args.Add(host.Layout.ConsumerUdsPath);
Aspire.Hosting.Tests (21)
Backchannel\GetTerminalInfoAsyncTests.cs (8)
80Assert.Equal(hosts[i].Layout.ConsumerUdsPath, result.Replicas[i].ConsumerUdsPath); 145Assert.Equal(hosts[0].Layout.ConsumerUdsPath, result.Replicas[0].ConsumerUdsPath); 163Assert.Equal(hosts[1].Layout.ConsumerUdsPath, result.Replicas[1].ConsumerUdsPath); 196Assert.Equal(hosts[0].Layout.ConsumerUdsPath, result.Replicas[0].ConsumerUdsPath); 197Assert.Equal(hosts[1].Layout.ConsumerUdsPath, result.Replicas[1].ConsumerUdsPath); 226Assert.Equal(hosts[i].Layout.ConsumerUdsPath, summary.Replicas[i].ConsumerUdsPath); 260Assert.Equal(hosts[0].Layout.ConsumerUdsPath, summary.Replicas[0].ConsumerUdsPath); 261Assert.Equal(hosts[1].Layout.ConsumerUdsPath, summary.Replicas[1].ConsumerUdsPath);
Dashboard\DashboardServiceDataTerminalTests.cs (4)
71Assert.Equal(GetTerminalHosts(resource)[0].Layout.ConsumerUdsPath, path.Value.StringValue); 97GetTerminalHosts(resource)[2].Layout.ConsumerUdsPath, 119GetTerminalHosts(resource)[0].Layout.ConsumerUdsPath, 144GetTerminalHosts(resource)[0].Layout.ConsumerUdsPath,
WithTerminalTests.cs (9)
460h.Layout.ConsumerUdsPath, 474File.WriteAllText(host.Layout.ConsumerUdsPath, string.Empty); 540Assert.Equal(host.Layout.ConsumerUdsPath, root.GetProperty("consumerSocketPath").GetString()); 1157host.Layout.ConsumerUdsPath, 1209Assert.NotEmpty(single.Layout.ConsumerUdsPath); 1234Assert.StartsWith(hosts[i].Layout.ReplicaId + ".", Path.GetFileName(hosts[i].Layout.ConsumerUdsPath)); 1282Assert.Equal(expectedDirectory, Path.GetDirectoryName(host.Layout.ConsumerUdsPath)); 1287Assert.StartsWith(host.Layout.ReplicaId + ".", Path.GetFileName(host.Layout.ConsumerUdsPath)); 1366Assert.Contains(host.Layout.ConsumerUdsPath, args);