3 writes to ExpandedTargetTypes
Aspire.Hosting (3)
Ats\AtsCapabilityScanner.cs (3)
677
capability.
ExpandedTargetTypes
= [];
684
capability.
ExpandedTargetTypes
= compatibleTypes.ToList();
695
capability.
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)
2230
var expandedTypes = cap.
ExpandedTargetTypes
;
Aspire.Hosting.CodeGeneration.TypeScript.Tests (15)
AtsTypeScriptCodeGeneratorTests.cs (15)
258
Assert.NotNull(withOptionalString.
ExpandedTargetTypes
);
259
var testRedisTarget = withOptionalString.
ExpandedTargetTypes
.FirstOrDefault(t =>
372
c.
ExpandedTargetTypes
.Any(t => t.TypeId.Contains("ContainerResource")))
378
ExpandedTargetTypes = c.
ExpandedTargetTypes
418
foreach (var expandedType in cap.
ExpandedTargetTypes
)
479
Assert.NotEmpty(withConnectionStringDirect.
ExpandedTargetTypes
);
482
var testRedisExpanded = withConnectionStringDirect.
ExpandedTargetTypes
507
Assert.NotEmpty(withRedisSpecific.
ExpandedTargetTypes
);
510
var testRedisExpanded = withRedisSpecific.
ExpandedTargetTypes
533
Assert.NotEmpty(withBindMount.
ExpandedTargetTypes
);
536
var containerExpanded = withBindMount.
ExpandedTargetTypes
629
Assert.NotEmpty(withConnectionStringDirect.
ExpandedTargetTypes
);
632
foreach (var expandedType in withConnectionStringDirect.
ExpandedTargetTypes
)
664
Assert.NotEmpty(testWithEnvironmentCallback.
ExpandedTargetTypes
);
667
var testRedisExpanded = testWithEnvironmentCallback.
ExpandedTargetTypes