5 writes to PathSegments
Aspire.Hosting.CodeGeneration.Java.Tests (1)
AtsJavaCodeGeneratorTests.cs (1)
645PathSegments = ["Probes", "Sample"],
Aspire.Hosting.RemoteHost (1)
AtsCapabilityScanner.cs (1)
1283PathSegments = pathSegments,
Aspire.Hosting.RemoteHost.Tests (3)
AtsContextFilterTests.cs (3)
575PathSegments = ["Aspire.Hosting.RemoteHost.Tests", "SelectedValues", "Default"], 588PathSegments = ["Aspire.Hosting.RemoteHost.Tests", "SelectedValues", "Metadata"], 601PathSegments = ["Aspire.Hosting", "CoreValues", "Default"],
34 references to PathSegments
Aspire.Hosting.CodeGeneration.Go (1)
AtsGoCodeGenerator.cs (1)
737foreach (var segment in exportedValue.PathSegments)
Aspire.Hosting.CodeGeneration.Go.Tests (2)
AtsGoCodeGeneratorTests.cs (2)
49Assert.Contains(atsContext.ExportedValues, value => string.Join(".", value.PathSegments) == "TestConfigs.Default"); 50Assert.Contains(atsContext.ExportedValues, value => string.Join(".", value.PathSegments) == "TestConfigs.Profiles.Development");
Aspire.Hosting.CodeGeneration.Java (1)
AtsJavaCodeGenerator.cs (1)
912foreach (var segment in exportedValue.PathSegments)
Aspire.Hosting.CodeGeneration.Java.Tests (2)
AtsJavaCodeGeneratorTests.cs (2)
80Assert.Contains(atsContext.ExportedValues, value => string.Join(".", value.PathSegments) == "TestConfigs.Default"); 81Assert.Contains(atsContext.ExportedValues, value => string.Join(".", value.PathSegments) == "TestConfigs.Profiles.Development");
Aspire.Hosting.CodeGeneration.Python (1)
AtsPythonCodeGenerator.cs (1)
979foreach (var segment in exportedValue.PathSegments)
Aspire.Hosting.CodeGeneration.Python.Tests (2)
AtsPythonCodeGeneratorTests.cs (2)
47Assert.Contains(atsContext.ExportedValues, value => string.Join(".", value.PathSegments) == "TestConfigs.Default"); 48Assert.Contains(atsContext.ExportedValues, value => string.Join(".", value.PathSegments) == "TestConfigs.Profiles.Development");
Aspire.Hosting.CodeGeneration.Rust (1)
AtsRustCodeGenerator.cs (1)
327foreach (var segment in exportedValue.PathSegments)
Aspire.Hosting.CodeGeneration.Rust.Tests (2)
AtsRustCodeGeneratorTests.cs (2)
49Assert.Contains(atsContext.ExportedValues, value => string.Join(".", value.PathSegments) == "TestConfigs.Default"); 50Assert.Contains(atsContext.ExportedValues, value => string.Join(".", value.PathSegments) == "TestConfigs.Profiles.Development");
Aspire.Hosting.CodeGeneration.TypeScript (1)
TypeScriptApiProjector.cs (1)
930foreach (var segment in exportedValue.PathSegments)
Aspire.Hosting.CodeGeneration.TypeScript.Tests (3)
AtsTypeScriptCodeGeneratorTests.cs (3)
89Assert.Contains(atsContext.ExportedValues, value => string.Join(".", value.PathSegments) == "TestConfigs.Default"); 90Assert.Contains(atsContext.ExportedValues, value => string.Join(".", value.PathSegments) == "TestConfigs.Profiles.Development"); 189var defaultConfig = context.ExportedValues.First(value => string.Join(".", value.PathSegments) == "TestConfigs.Default");
Aspire.Hosting.RemoteHost (5)
AtsCapabilityScanner.cs (4)
1445var path = string.Join(".", exportedValue.PathSegments); 1454if (TryFindConflictingExportedValuePath(exportedValue.PathSegments, uniqueValues, out var conflictingPath)) 1475if (PathsConflict(candidatePathSegments, existingValue.PathSegments)) 1477conflictingPath = string.Join(".", existingValue.PathSegments);
CodeGeneration\CodeGenerationService.cs (1)
193PathSegments = value.PathSegments.ToList(),
Aspire.Hosting.RemoteHost.Tests (13)
AtsCapabilityScannerTests.cs (7)
637string.Join(".", value.PathSegments) == "InvalidValues.InvalidExportedValues.MutableMetadata"); 639string.Join(".", value.PathSegments) == "InvalidValues.InvalidExportedValues.DtoWithMutableList"); 684value => string.Join(".", value.PathSegments) == "IgnoredPropertyValues.IgnoredPropertyExportedValues.Value"); 696string.Join(".", value.PathSegments).Contains("Invalid-Values", StringComparison.Ordinal)); 698string.Join(".", value.PathSegments).Contains("123Name", StringComparison.Ordinal)); 715value => string.Join(".", value.PathSegments) == "DuplicateValues.DuplicateExportedValues.Shared"); 730string.Join(".", value.PathSegments) == "ConflictingValues.PrefixConflictingExportedValues.Node.Child");
AtsContextFilterTests.cs (6)
139filteredContext.ExportedValues.OrderBy(value => string.Join(".", value.PathSegments), StringComparer.Ordinal), 140value => Assert.Equal("Aspire.Hosting.RemoteHost.Tests.SelectedValues.Default", string.Join(".", value.PathSegments)), 141value => Assert.Equal("Aspire.Hosting.RemoteHost.Tests.SelectedValues.Metadata", string.Join(".", value.PathSegments))); 166filteredContext.ExportedValues.OrderBy(value => string.Join(".", value.PathSegments), StringComparer.Ordinal), 167value => Assert.Equal("Aspire.Hosting.RemoteHost.Tests.SelectedValues.Default", string.Join(".", value.PathSegments)), 168value => Assert.Equal("Aspire.Hosting.RemoteHost.Tests.SelectedValues.Metadata", string.Join(".", value.PathSegments)));