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)
532ConsumerUdsPath = layout.ConsumerUdsPath,
TerminalResourceBuilderExtensions.cs (2)
283ConsumerSocketPath = layout.ConsumerUdsPath, 420context.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)
321h.Layout.ConsumerUdsPath, 335File.WriteAllText(host.Layout.ConsumerUdsPath, string.Empty); 401Assert.Equal(host.Layout.ConsumerUdsPath, root.GetProperty("consumerSocketPath").GetString()); 1016host.Layout.ConsumerUdsPath, 1068Assert.NotEmpty(single.Layout.ConsumerUdsPath); 1093Assert.StartsWith(hosts[i].Layout.ReplicaId + ".", Path.GetFileName(hosts[i].Layout.ConsumerUdsPath)); 1141Assert.Equal(expectedDirectory, Path.GetDirectoryName(host.Layout.ConsumerUdsPath)); 1146Assert.StartsWith(host.Layout.ReplicaId + ".", Path.GetFileName(host.Layout.ConsumerUdsPath)); 1225Assert.Contains(host.Layout.ConsumerUdsPath, args);