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)
252ConsumerSocketPath = layout.ConsumerUdsPath, 393context.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)
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)
398h.Layout.ConsumerUdsPath, 412File.WriteAllText(host.Layout.ConsumerUdsPath, string.Empty); 478Assert.Equal(host.Layout.ConsumerUdsPath, root.GetProperty("consumerSocketPath").GetString()); 1095host.Layout.ConsumerUdsPath, 1147Assert.NotEmpty(single.Layout.ConsumerUdsPath); 1172Assert.StartsWith(hosts[i].Layout.ReplicaId + ".", Path.GetFileName(hosts[i].Layout.ConsumerUdsPath)); 1220Assert.Equal(expectedDirectory, Path.GetDirectoryName(host.Layout.ConsumerUdsPath)); 1225Assert.StartsWith(host.Layout.ReplicaId + ".", Path.GetFileName(host.Layout.ConsumerUdsPath)); 1304Assert.Contains(host.Layout.ConsumerUdsPath, args);