22 references to Callback
Aspire.Hosting.CodeGeneration.Go (1)
AtsGoCodeGenerator.cs (1)
2615AtsTypeCategory.Callback => "func(...any) any",
Aspire.Hosting.CodeGeneration.Go.Tests (2)
AtsGoDerivedBuilderTests.cs (1)
654Type = new AtsTypeRef { TypeId = "callback", Category = AtsTypeCategory.Callback },
GoGeneratorEscapingTests.cs (1)
97var callbackType = new AtsTypeRef { TypeId = "Tests/Callback", Category = AtsTypeCategory.Callback };
Aspire.Hosting.CodeGeneration.Java (1)
AtsJavaCodeGenerator.cs (1)
2580AtsTypeCategory.Callback => "Object",
Aspire.Hosting.CodeGeneration.Java.Tests (4)
AtsJavaCodeGeneratorTests.cs (4)
2783Type = new AtsTypeRef { TypeId = "callback", Category = AtsTypeCategory.Callback }, 3060Type = new AtsTypeRef { TypeId = "callback", Category = AtsTypeCategory.Callback }, 3344Type = new AtsTypeRef { TypeId = "callback", Category = AtsTypeCategory.Callback }, 3412Type = new AtsTypeRef { TypeId = "callback", Category = AtsTypeCategory.Callback },
Aspire.Hosting.CodeGeneration.Python (1)
AtsPythonCodeGenerator.cs (1)
226AtsTypeCategory.Callback => "typing.Callable", // Callbacks handled separately with full signature
Aspire.Hosting.CodeGeneration.Rust (3)
AtsRustCodeGenerator.cs (3)
391AtsTypeCategory.Callback => true, 918AtsTypeCategory.Callback => "Box<dyn Fn(Vec<Value>) -> Value + Send + Sync>", 966AtsTypeCategory.Callback => "Value",
Aspire.Hosting.CodeGeneration.TypeScript (1)
TypeScriptApiProjector.cs (1)
1695AtsTypeCategory.Callback => "Function", // Callbacks handled separately with full signature
Aspire.Hosting.CodeGeneration.TypeScript.Tests (1)
AtsTypeScriptCodeGeneratorTests.cs (1)
3449Category = AtsTypeCategory.Callback
Aspire.Hosting.Native.CodeGeneration (3)
NativeCSharpProjection.cs (1)
241AtsTypeCategory.Callback => "Delegate",
src\Aspire.Hosting.RemoteHost\AtsCapabilityScanner.cs (2)
1171? new AtsTypeRef { TypeId = "callback", ClrType = prop.PropertyType, Category = AtsTypeCategory.Callback } 2231? new AtsTypeRef { TypeId = "callback", Category = AtsTypeCategory.Callback }
Aspire.Hosting.RemoteHost (2)
AtsCapabilityScanner.cs (2)
1171? new AtsTypeRef { TypeId = "callback", ClrType = prop.PropertyType, Category = AtsTypeCategory.Callback } 2231? new AtsTypeRef { TypeId = "callback", Category = AtsTypeCategory.Callback }
Aspire.TypeSystem (3)
AtsConstants.cs (2)
356return AtsTypeCategory.Callback; 478return AtsTypeCategory.Callback;
AtsContext.cs (1)
152return AtsTypeCategory.Callback;