3 writes to Type
Aspire.Hosting.RemoteHost (3)
AtsCapabilityScanner.cs (3)
1612Type = paramTypeRef 1684Type = paramTypeRef 1705Type = paramTypeRef
26 references to Type
Aspire.Hosting.CodeGeneration.Go (2)
AtsGoCodeGenerator.cs (2)
553AddHandleTypeIfNeeded(handleTypeIds, callbackParam.Type); 638AddListOrDictTypeIfNeeded(typeIds, callbackParam.Type);
Aspire.Hosting.CodeGeneration.Java (2)
AtsJavaCodeGenerator.cs (2)
523AddHandleTypeIfNeeded(handleTypeIds, callbackParam.Type); 608AddListOrDictTypeIfNeeded(typeIds, callbackParam.Type);
Aspire.Hosting.CodeGeneration.Python (3)
AtsPythonCodeGenerator.cs (3)
430AddHandleTypeIfNeeded(handleTypeIds, callbackParam.Type); 513AddListOrDictTypeIfNeeded(typeIds, callbackParam.Type); 645var paramTypes = string.Join(", ", parameters.Select(p => MapTypeRefToPython(p.Type)));
Aspire.Hosting.CodeGeneration.Rust (2)
AtsRustCodeGenerator.cs (2)
631AddHandleTypeIfNeeded(handleTypeIds, callbackParam.Type); 715AddListOrDictTypeIfNeeded(typeIds, callbackParam.Type);
Aspire.Hosting.CodeGeneration.TypeScript (11)
AtsTypeScriptCodeGenerator.cs (11)
450if (IsHandleType(cbParam.Type) && !dtoTypeIds.Contains(cbParam.Type.TypeId)) 452typeIds.Add(cbParam.Type.TypeId); 870if (!string.Equals(aCallbackParams[i].Type.TypeId, bCallbackParams[i].Type.TypeId, StringComparison.Ordinal)) 1402var tsType = MapTypeRefToTypeScript(param.Type); 1484var tsType = MapTypeRefToTypeScript(cbParam.Type); 1485var cbTypeId = cbParam.Type.TypeId; 1512var tsType = MapTypeRefToTypeScript(cbParam.Type); 1513var cbTypeId = cbParam.Type.TypeId; 2759CollectFromTypeRef(cbParam.Type);
Aspire.Hosting.CodeGeneration.TypeScript.Tests (1)
AtsTypeScriptCodeGeneratorTests.cs (1)
1169Assert.Equal(AtsConstants.CancellationToken, operationParam.CallbackParameters[0].Type?.TypeId);
Aspire.Hosting.RemoteHost (3)
AtsCapabilityScanner.cs (2)
582ResolveTypeRef(cbParam.Type, validTypes); 668result = FindUnknownType(cbParam.Type);
CodeGeneration\CodeGenerationService.cs (1)
89Type = MapTypeRef(cp.Type)
Aspire.Hosting.RemoteHost.Tests (2)
AtsCapabilityScannerTests.cs (2)
327Assert.NotNull(cbParam.Type); 328Assert.NotEqual(AtsTypeCategory.Unknown, cbParam.Type.Category);