24 references to Primitive
Aspire.Hosting (14)
Ats\AtsCapabilityScanner.cs (11)
988: new AtsTypeRef { TypeId = AtsConstants.Any, Category = AtsTypeCategory.Primitive }; 1015propertyTypeRef = new AtsTypeRef { TypeId = AtsConstants.Any, Category = AtsTypeCategory.Primitive }; 1501returnTypeRef = new AtsTypeRef { TypeId = AtsConstants.Void, Category = AtsTypeCategory.Primitive }; 1505returnTypeRef = new AtsTypeRef { TypeId = AtsConstants.Void, Category = AtsTypeCategory.Primitive }; 1513?? new AtsTypeRef { TypeId = AtsConstants.Void, Category = AtsTypeCategory.Primitive } 1514: new AtsTypeRef { TypeId = AtsConstants.Void, Category = AtsTypeCategory.Primitive }; 1519?? new AtsTypeRef { TypeId = AtsConstants.Void, Category = AtsTypeCategory.Primitive }; 1545var voidTypeRef = new AtsTypeRef { TypeId = AtsConstants.Void, Category = AtsTypeCategory.Primitive }; 1863Category = AtsTypeCategory.Primitive 1929return new AtsTypeRef { TypeId = primitiveTypeId, ClrType = type, Category = AtsTypeCategory.Primitive }; 1935return new AtsTypeRef { TypeId = AtsConstants.Any, ClrType = type, Category = AtsTypeCategory.Primitive };
Ats\AtsConstants.cs (2)
364return AtsTypeCategory.Primitive; 451return AtsTypeCategory.Primitive;
Ats\AtsContext.cs (1)
104return AtsTypeCategory.Primitive;
Aspire.Hosting.CodeGeneration.Go (1)
AtsGoCodeGenerator.cs (1)
662AtsTypeCategory.Primitive => MapPrimitiveType(typeRef.TypeId),
Aspire.Hosting.CodeGeneration.Java (1)
AtsJavaCodeGenerator.cs (1)
627AtsTypeCategory.Primitive => MapPrimitiveType(typeRef.TypeId, isOptional),
Aspire.Hosting.CodeGeneration.Python (1)
AtsPythonCodeGenerator.cs (1)
581AtsTypeCategory.Primitive => MapPrimitiveType(typeRef.TypeId),
Aspire.Hosting.CodeGeneration.Rust (3)
AtsRustCodeGenerator.cs (3)
693AtsTypeCategory.Primitive => MapPrimitiveType(typeRef.TypeId), 731AtsTypeCategory.Primitive => MapPrimitiveType(typeRef.TypeId), 781if (typeRef.Category == AtsTypeCategory.Primitive)
Aspire.Hosting.CodeGeneration.TypeScript (1)
AtsTypeScriptCodeGenerator.cs (1)
145AtsTypeCategory.Primitive => MapPrimitiveType(typeRef.TypeId),
Aspire.Hosting.CodeGeneration.TypeScript.Tests (1)
AtsTypeScriptCodeGeneratorTests.cs (1)
1019Assert.Equal(AtsTypeCategory.Primitive, ctParam.Type.Category);
Aspire.Hosting.RemoteHost (2)
Ats\AtsMarshaller.cs (2)
136Hosting.Ats.AtsTypeCategory.Primitive => SerializePrimitive(value), 212Hosting.Ats.AtsTypeCategory.Primitive => SerializePrimitive(value),