24 references to Primitive
Aspire.Hosting (14)
Ats\AtsCapabilityScanner.cs (11)
1080: new AtsTypeRef { TypeId = AtsConstants.Any, Category = AtsTypeCategory.Primitive }; 1107propertyTypeRef = new AtsTypeRef { TypeId = AtsConstants.Any, Category = AtsTypeCategory.Primitive }; 1600returnTypeRef = new AtsTypeRef { TypeId = AtsConstants.Void, Category = AtsTypeCategory.Primitive }; 1604returnTypeRef = new AtsTypeRef { TypeId = AtsConstants.Void, Category = AtsTypeCategory.Primitive }; 1612?? new AtsTypeRef { TypeId = AtsConstants.Void, Category = AtsTypeCategory.Primitive } 1613: new AtsTypeRef { TypeId = AtsConstants.Void, Category = AtsTypeCategory.Primitive }; 1618?? new AtsTypeRef { TypeId = AtsConstants.Void, Category = AtsTypeCategory.Primitive }; 1644var voidTypeRef = new AtsTypeRef { TypeId = AtsConstants.Void, Category = AtsTypeCategory.Primitive }; 1962Category = AtsTypeCategory.Primitive 2028return new AtsTypeRef { TypeId = primitiveTypeId, ClrType = type, Category = AtsTypeCategory.Primitive }; 2034return 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)
668AtsTypeCategory.Primitive => MapPrimitiveType(typeRef.TypeId),
Aspire.Hosting.CodeGeneration.Java (1)
AtsJavaCodeGenerator.cs (1)
633AtsTypeCategory.Primitive => MapPrimitiveType(typeRef.TypeId, isOptional),
Aspire.Hosting.CodeGeneration.Python (1)
AtsPythonCodeGenerator.cs (1)
584AtsTypeCategory.Primitive => MapPrimitiveType(typeRef.TypeId),
Aspire.Hosting.CodeGeneration.Rust (3)
AtsRustCodeGenerator.cs (3)
740AtsTypeCategory.Primitive => MapPrimitiveType(typeRef.TypeId), 778AtsTypeCategory.Primitive => MapPrimitiveType(typeRef.TypeId), 828if (typeRef.Category == AtsTypeCategory.Primitive)
Aspire.Hosting.CodeGeneration.TypeScript (1)
AtsTypeScriptCodeGenerator.cs (1)
156AtsTypeCategory.Primitive => MapPrimitiveType(typeRef.TypeId),
Aspire.Hosting.CodeGeneration.TypeScript.Tests (1)
AtsTypeScriptCodeGeneratorTests.cs (1)
1068Assert.Equal(AtsTypeCategory.Primitive, ctParam.Type.Category);
Aspire.Hosting.RemoteHost (2)
Ats\AtsMarshaller.cs (2)
147Hosting.Ats.AtsTypeCategory.Primitive => SerializePrimitive(value), 223Hosting.Ats.AtsTypeCategory.Primitive => SerializePrimitive(value),