3 writes to ExpandedTargetTypes
Aspire.Hosting (3)
Ats\AtsCapabilityScanner.cs (3)
677capability.ExpandedTargetTypes = []; 684capability.ExpandedTargetTypes = compatibleTypes.ToList(); 695capability.ExpandedTargetTypes = [targetTypeRef];
18 references to ExpandedTargetTypes
Aspire.Hosting (2)
Ats\AtsCapabilityScanner.cs (2)
768.Where(c => c.ExpandedTargetTypes.Count > 0) 769.SelectMany(c => c.ExpandedTargetTypes.Select(t => (Target: t.TypeId, Capability: c)))
Aspire.Hosting.CodeGeneration.TypeScript (1)
AtsTypeScriptCodeGenerator.cs (1)
2230var expandedTypes = cap.ExpandedTargetTypes;
Aspire.Hosting.CodeGeneration.TypeScript.Tests (15)
AtsTypeScriptCodeGeneratorTests.cs (15)
258Assert.NotNull(withOptionalString.ExpandedTargetTypes); 259var testRedisTarget = withOptionalString.ExpandedTargetTypes.FirstOrDefault(t => 372c.ExpandedTargetTypes.Any(t => t.TypeId.Contains("ContainerResource"))) 378ExpandedTargetTypes = c.ExpandedTargetTypes 418foreach (var expandedType in cap.ExpandedTargetTypes) 479Assert.NotEmpty(withConnectionStringDirect.ExpandedTargetTypes); 482var testRedisExpanded = withConnectionStringDirect.ExpandedTargetTypes 507Assert.NotEmpty(withRedisSpecific.ExpandedTargetTypes); 510var testRedisExpanded = withRedisSpecific.ExpandedTargetTypes 533Assert.NotEmpty(withBindMount.ExpandedTargetTypes); 536var containerExpanded = withBindMount.ExpandedTargetTypes 629Assert.NotEmpty(withConnectionStringDirect.ExpandedTargetTypes); 632foreach (var expandedType in withConnectionStringDirect.ExpandedTargetTypes) 664Assert.NotEmpty(testWithEnvironmentCallback.ExpandedTargetTypes); 667var testRedisExpanded = testWithEnvironmentCallback.ExpandedTargetTypes