3 writes to ElementType
Aspire.Hosting (3)
33 references to ElementType
Aspire.Hosting (3)
Aspire.Hosting.CodeGeneration.Go (5)
Aspire.Hosting.CodeGeneration.Java (4)
Aspire.Hosting.CodeGeneration.Python (4)
Aspire.Hosting.CodeGeneration.Rust (9)
AtsRustCodeGenerator.cs (9)
480var elementType = MapTypeRefToRust(returnTypeRef!.ElementType, false);
525var elementType = MapTypeRefToRust(returnType.ElementType, false);
745AtsTypeCategory.Array => $"Vec<{MapTypeRefToRust(typeRef.ElementType, false)}>",
747? $"Vec<{MapTypeRefToRust(typeRef.ElementType, false)}>"
748: $"AspireList<{MapTypeRefToRust(typeRef.ElementType, false)}>",
784AtsTypeCategory.Array => $"Vec<{MapTypeRefToRustForDto(typeRef.ElementType, false)}>",
785AtsTypeCategory.List => $"Vec<{MapTypeRefToRustForDto(typeRef.ElementType, false)}>",
860&& typeRef.ElementType is not null
861&& IsHandleType(typeRef.ElementType);
Aspire.Hosting.CodeGeneration.TypeScript (5)
Aspire.Hosting.RemoteHost (3)