17 instantiations of AtsTypeInfo
Aspire.Hosting.CodeGeneration.Java.Tests (3)
AtsJavaCodeGeneratorTests.cs (3)
3026HandleTypes = [new AtsTypeInfo { AtsTypeId = resourceType.TypeId! }], 3338HandleTypes = [new AtsTypeInfo { AtsTypeId = resourceType.TypeId! }], 3639HandleTypes = [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)
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)
270var containerResourceType = result.HandleTypes 275var testRedisType = result.HandleTypes
Aspire.Hosting.CodeGeneration.Java (2)
AtsJavaCodeGenerator.cs (2)
2395foreach (var handleType in context.HandleTypes) 2459if (handleTypeInfoMap.TryGetValue(typeId, out var handleTypeInfo))
Aspire.Hosting.CodeGeneration.Java.Tests (2)
AtsJavaCodeGeneratorTests.cs (2)
262var containerResourceType = result.HandleTypes 267var 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)
1093var containerResourceType = result.HandleTypes 1098var 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)
152private static HandleTypeResponse MapHandleType(AtsTypeInfo t) => new()
Aspire.Hosting.RemoteHost.Tests (7)
AtsCapabilityScannerTests.cs (1)
260var 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; }