17 instantiations of AtsTypeInfo
Aspire.Hosting.CodeGeneration.Java.Tests (3)
AtsJavaCodeGeneratorTests.cs (3)
3078HandleTypes = [new AtsTypeInfo { AtsTypeId = resourceType.TypeId! }], 3390HandleTypes = [new AtsTypeInfo { AtsTypeId = resourceType.TypeId! }], 3691HandleTypes = [new AtsTypeInfo { AtsTypeId = resourceType.TypeId! }],
Aspire.Hosting.CodeGeneration.Python.Tests (7)
AtsPythonCodeGeneratorTests.cs (7)
539new AtsTypeInfo 595new AtsTypeInfo 665new AtsTypeInfo 672new AtsTypeInfo 677new AtsTypeInfo 871new AtsTypeInfo 876new AtsTypeInfo
Aspire.Hosting.RemoteHost (2)
AtsCapabilityScanner.cs (2)
563typeInfos.Add(new AtsTypeInfo 1125return 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)
198new 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)
432var containerResourceType = result.HandleTypes 437var testRedisType = result.HandleTypes
Aspire.Hosting.CodeGeneration.Java (2)
AtsJavaCodeGenerator.cs (2)
2414foreach (var handleType in context.HandleTypes) 2478if (handleTypeInfoMap.TryGetValue(typeId, out var handleTypeInfo))
Aspire.Hosting.CodeGeneration.Java.Tests (2)
AtsJavaCodeGeneratorTests.cs (2)
314var containerResourceType = result.HandleTypes 319var testRedisType = result.HandleTypes
Aspire.Hosting.CodeGeneration.Python.Tests (2)
AtsPythonCodeGeneratorTests.cs (2)
207var containerResourceType = result.HandleTypes 212var 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)
266var containerResourceType = result.HandleTypes 271var 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)
1288var containerResourceType = result.HandleTypes 1293var 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) 374var typeInfos = new List<AtsTypeInfo>(); 410var typeInfo = CreateTypeInfo(exportedType, assemblyExportAttr); 452var typeInfo = CreateTypeInfo(type, typeExportAttr); 902List<AtsTypeInfo> typeInfos) 945List<AtsTypeInfo> typeInfos) 949foreach (var typeInfo in typeInfos) 1104private 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)) 414IReadOnlyDictionary<string, AtsTypeInfo> handleTypesById, 426if (handleTypesById.TryGetValue(typeRef.TypeId, out var handleType) && includedHandleTypeIds.Add(handleType.AtsTypeId)) 455AtsTypeInfo handleType, 456IReadOnlyDictionary<string, AtsTypeInfo> handleTypesById, 476IReadOnlyDictionary<string, AtsTypeInfo> handleTypesById, 553foreach (var type in context.HandleTypes)
CodeGeneration\CodeGenerationService.cs (1)
161private static HandleTypeResponse MapHandleType(AtsTypeInfo t) => new()
Aspire.Hosting.RemoteHost.Tests (7)
AtsCapabilityScannerTests.cs (1)
273var 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)
430private 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; }