12 instantiations of AtsTypeInfo
Aspire.Hosting.CodeGeneration.Python.Tests (5)
AtsPythonCodeGeneratorTests.cs (5)
431new AtsTypeInfo 487new AtsTypeInfo 557new AtsTypeInfo 564new AtsTypeInfo 569new AtsTypeInfo
Aspire.Hosting.RemoteHost (2)
AtsCapabilityScanner.cs (2)
489typeInfos.Add(new AtsTypeInfo 1051return new AtsTypeInfo
Aspire.Hosting.RemoteHost.Tests (5)
AtsContextFilterTests.cs (4)
378var selectedHandleType = new AtsTypeInfo 389var referencedCoreHandleType = new AtsTypeInfo 400var unrelatedCoreHandleType = new AtsTypeInfo 411var siblingHandleType = new AtsTypeInfo
CallbackProxyTests.cs (1)
155new AtsTypeInfo
43 references to AtsTypeInfo
Aspire.Hosting.CodeGeneration.Go (1)
AtsGoCodeGenerator.cs (1)
149foreach (var handleType in context.HandleTypes)
Aspire.Hosting.CodeGeneration.Go.Tests (2)
AtsGoCodeGeneratorTests.cs (2)
207var containerResourceType = result.HandleTypes 212var testRedisType = result.HandleTypes
Aspire.Hosting.CodeGeneration.Java (2)
AtsJavaCodeGenerator.cs (2)
2333foreach (var handleType in context.HandleTypes) 2397if (handleTypeInfoMap.TryGetValue(typeId, out var handleTypeInfo))
Aspire.Hosting.CodeGeneration.Java.Tests (2)
AtsJavaCodeGeneratorTests.cs (2)
261var containerResourceType = result.HandleTypes 266var testRedisType = result.HandleTypes
Aspire.Hosting.CodeGeneration.Python.Tests (2)
AtsPythonCodeGeneratorTests.cs (2)
205var containerResourceType = result.HandleTypes 210var testRedisType = result.HandleTypes
Aspire.Hosting.CodeGeneration.Rust (1)
AtsRustCodeGenerator.cs (1)
778foreach (var handleType in context.HandleTypes)
Aspire.Hosting.CodeGeneration.Rust.Tests (2)
AtsRustCodeGeneratorTests.cs (2)
206var containerResourceType = result.HandleTypes 211var testRedisType = result.HandleTypes
Aspire.Hosting.CodeGeneration.TypeScript (1)
TypeScriptApiProjector.cs (1)
192foreach (var handleType in context.HandleTypes)
Aspire.Hosting.CodeGeneration.TypeScript.Tests (2)
AtsTypeScriptCodeGeneratorTests.cs (2)
978var containerResourceType = result.HandleTypes 983var testRedisType = result.HandleTypes
Aspire.Hosting.RemoteHost (20)
AtsCapabilityScanner.cs (10)
33public required List<AtsTypeInfo> HandleTypes { get; init; } 142var allTypeInfos = new List<AtsTypeInfo>(); 178foreach (var typeInfo in result.HandleTypes) 300var typeInfos = new List<AtsTypeInfo>(); 336var typeInfo = CreateTypeInfo(exportedType, assemblyExportAttr); 378var typeInfo = CreateTypeInfo(type, typeExportAttr); 828List<AtsTypeInfo> typeInfos) 871List<AtsTypeInfo> typeInfos) 875foreach (var typeInfo in typeInfos) 1030private static AtsTypeInfo? CreateTypeInfo(
AtsContextFilter.cs (9)
237foreach (var handleType in context.HandleTypes.Where(type => includedHandleTypeIds.Contains(type.AtsTypeId)).ToList()) 310IReadOnlyDictionary<string, AtsTypeInfo> supportingHandleTypes) 320supportingHandleTypes.TryGetValue(targetTypeId, out var handleType)) 413IReadOnlyDictionary<string, AtsTypeInfo> handleTypesById, 425if (handleTypesById.TryGetValue(typeRef.TypeId, out var handleType) && includedHandleTypeIds.Add(handleType.AtsTypeId)) 454AtsTypeInfo handleType, 455IReadOnlyDictionary<string, AtsTypeInfo> handleTypesById, 475IReadOnlyDictionary<string, AtsTypeInfo> handleTypesById, 552foreach (var type in context.HandleTypes)
CodeGeneration\CodeGenerationService.cs (1)
151private static HandleTypeResponse MapHandleType(AtsTypeInfo t) => new()
Aspire.Hosting.RemoteHost.Tests (7)
AtsCapabilityScannerTests.cs (1)
246var cancellationTokenType = result.HandleTypes
AtsContextFilterTests.cs (5)
177var referencedHandleType = Assert.Single( 378var selectedHandleType = new AtsTypeInfo 389var referencedCoreHandleType = new AtsTypeInfo 400var unrelatedCoreHandleType = new AtsTypeInfo 411var siblingHandleType = new AtsTypeInfo
CallbackProxyTests.cs (1)
387private static AtsCallbackProxyFactory CreateFactory(ICallbackInvoker? invoker = null, bool registerDtoTypes = false, IReadOnlyList<AtsTypeInfo>? handleTypes = null)
Aspire.TypeSystem (1)
AtsContext.cs (1)
65public required IReadOnlyList<AtsTypeInfo> HandleTypes { get; init; }