1 write to Types
Aspire.Hosting (1)
Ats\AttributeDataReader.cs (1)
216Types = [.. types]
6 references to Types
Aspire.Hosting (3)
Ats\AtsCapabilityScanner.cs (3)
2581if (unionAttr.Types.Length < 2) 2584$"[AspireUnion] on {context} has {unionAttr.Types.Length} type(s). Union must have at least 2 types."); 2589foreach (var memberType in unionAttr.Types)
Aspire.Hosting.Tests (3)
Ats\AttributeDataReaderTests.cs (3)
95Assert.Equal(2, result.Types.Length); 96Assert.Contains(typeof(string), result.Types); 97Assert.Contains(typeof(int), result.Types);