9 writes to PathSegments
Aspire.Hosting.CodeGeneration.Go.Tests (1)
AtsGoCodeGeneratorTests.cs (1)
92PathSegments = ["NullableArrays", "Numbers"],
Aspire.Hosting.CodeGeneration.Java.Tests (3)
AtsJavaCodeGeneratorTests.cs (3)
3535PathSegments = ["Probes", "Sample"], 3569PathSegments = ["NullableArrays", "Numbers"], 3576PathSegments = ["NullableArrays", "Flags"],
Aspire.Hosting.CodeGeneration.Rust.Tests (1)
AtsRustCodeGeneratorTests.cs (1)
92PathSegments = ["NullableArrays", "Numbers"],
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)
747foreach (var segment in exportedValue.PathSegments)
Aspire.Hosting.CodeGeneration.Go.Tests (2)
AtsGoCodeGeneratorTests.cs (2)
112Assert.Contains(atsContext.ExportedValues, value => string.Join(".", value.PathSegments) == "TestConfigs.Default"); 113Assert.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)
81Assert.Contains(atsContext.ExportedValues, value => string.Join(".", value.PathSegments) == "TestConfigs.Default"); 82Assert.Contains(atsContext.ExportedValues, value => string.Join(".", value.PathSegments) == "TestConfigs.Profiles.Development");
Aspire.Hosting.CodeGeneration.Python (1)
AtsPythonCodeGenerator.cs (1)
1054foreach (var segment in exportedValue.PathSegments)
Aspire.Hosting.CodeGeneration.Python.Tests (2)
AtsPythonCodeGeneratorTests.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.Rust (1)
AtsRustCodeGenerator.cs (1)
327foreach (var segment in exportedValue.PathSegments)
Aspire.Hosting.CodeGeneration.Rust.Tests (2)
AtsRustCodeGeneratorTests.cs (2)
109Assert.Contains(atsContext.ExportedValues, value => string.Join(".", value.PathSegments) == "TestConfigs.Default"); 110Assert.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)
92Assert.Contains(atsContext.ExportedValues, value => string.Join(".", value.PathSegments) == "TestConfigs.Default"); 93Assert.Contains(atsContext.ExportedValues, value => string.Join(".", value.PathSegments) == "TestConfigs.Profiles.Development"); 192var 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)
194PathSegments = value.PathSegments.ToList(),
Aspire.Hosting.RemoteHost.Tests (13)
AtsCapabilityScannerTests.cs (7)
651string.Join(".", value.PathSegments) == "InvalidValues.InvalidExportedValues.MutableMetadata"); 653string.Join(".", value.PathSegments) == "InvalidValues.InvalidExportedValues.DtoWithMutableList"); 698value => string.Join(".", value.PathSegments) == "IgnoredPropertyValues.IgnoredPropertyExportedValues.Value"); 710string.Join(".", value.PathSegments).Contains("Invalid-Values", StringComparison.Ordinal)); 712string.Join(".", value.PathSegments).Contains("123Name", StringComparison.Ordinal)); 729value => string.Join(".", value.PathSegments) == "DuplicateValues.DuplicateExportedValues.Shared"); 744string.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)));