3 writes to Type
Aspire.Hosting (3)
Ats\AtsCapabilityScanner.cs (3)
1589Type = paramTypeRef 1659Type = paramTypeRef 1680Type = paramTypeRef
26 references to Type
Aspire.Hosting (2)
Ats\AtsCapabilityScanner.cs (2)
571ResolveTypeRef(cbParam.Type, validTypes); 657result = FindUnknownType(cbParam.Type);
Aspire.Hosting.CodeGeneration.Go (2)
AtsGoCodeGenerator.cs (2)
557AddHandleTypeIfNeeded(handleTypeIds, callbackParam.Type); 643AddListOrDictTypeIfNeeded(typeIds, callbackParam.Type);
Aspire.Hosting.CodeGeneration.Java (2)
AtsJavaCodeGenerator.cs (2)
524AddHandleTypeIfNeeded(handleTypeIds, callbackParam.Type); 610AddListOrDictTypeIfNeeded(typeIds, callbackParam.Type);
Aspire.Hosting.CodeGeneration.Python (3)
AtsPythonCodeGenerator.cs (3)
431AddHandleTypeIfNeeded(handleTypeIds, callbackParam.Type); 515AddListOrDictTypeIfNeeded(typeIds, callbackParam.Type); 647var paramTypes = string.Join(", ", parameters.Select(p => MapTypeRefToPython(p.Type)));
Aspire.Hosting.CodeGeneration.Rust (2)
AtsRustCodeGenerator.cs (2)
632AddHandleTypeIfNeeded(handleTypeIds, callbackParam.Type); 717AddListOrDictTypeIfNeeded(typeIds, callbackParam.Type);
Aspire.Hosting.CodeGeneration.TypeScript (11)
AtsTypeScriptCodeGenerator.cs (11)
404if (IsHandleType(cbParam.Type) && !dtoTypeIds.Contains(cbParam.Type.TypeId)) 406typeIds.Add(cbParam.Type.TypeId); 824if (!string.Equals(aCallbackParams[i].Type.TypeId, bCallbackParams[i].Type.TypeId, StringComparison.Ordinal)) 1356var tsType = MapTypeRefToTypeScript(param.Type); 1465var tsType = MapTypeRefToTypeScript(cbParam.Type); 1466var cbTypeId = cbParam.Type.TypeId; 1495var tsType = MapTypeRefToTypeScript(cbParam.Type); 1496var cbTypeId = cbParam.Type.TypeId; 2704CollectFromTypeRef(cbParam.Type);
Aspire.Hosting.CodeGeneration.TypeScript.Tests (1)
AtsTypeScriptCodeGeneratorTests.cs (1)
1100Assert.Equal(AtsConstants.CancellationToken, operationParam.CallbackParameters[0].Type?.TypeId);
Aspire.Hosting.RemoteHost (1)
CodeGeneration\CodeGenerationService.cs (1)
89Type = MapTypeRef(cp.Type)
Aspire.Hosting.Tests (2)
Ats\AtsCapabilityScannerTests.cs (2)
244Assert.NotNull(cbParam.Type); 245Assert.NotEqual(AtsTypeCategory.Unknown, cbParam.Type.Category);