33 references to Any
Aspire.Hosting.CodeGeneration.Go (3)
AtsGoCodeGenerator.cs (3)
2535
AtsTypeCategory.Primitive => type.TypeId is not (AtsConstants.
Any
or AtsConstants.ReferenceExpressionTypeId),
3140
&& typeRef.TypeId is not (AtsConstants.Void or AtsConstants.
Any
or AtsConstants.CancellationToken);
3172
AtsConstants.
Any
=> "any",
Aspire.Hosting.CodeGeneration.Java (1)
AtsJavaCodeGenerator.cs (1)
2671
AtsConstants.
Any
=> "Object",
Aspire.Hosting.CodeGeneration.Python (2)
AtsPythonCodeGenerator.cs (2)
247
&& typeRef.TypeId is not (AtsConstants.Void or AtsConstants.
Any
or AtsConstants.CancellationToken);
258
AtsConstants.
Any
=> "typing.Any",
Aspire.Hosting.CodeGeneration.Rust (3)
AtsRustCodeGenerator.cs (3)
1019
AtsConstants.
Any
=> "Value",
1045
AtsConstants.
Any
=> "&Value",
1064
&& typeRef.TypeId is not (AtsConstants.Void or AtsConstants.
Any
or AtsConstants.CancellationToken);
Aspire.Hosting.CodeGeneration.TypeScript (2)
TypeScriptApiProjector.cs (2)
1715
return typeRef.TypeId is AtsConstants.Void or AtsConstants.
Any
or AtsConstants.CancellationToken
1768
AtsConstants.
Any
=> "any",
Aspire.Hosting.Native.CodeGeneration (10)
src\Aspire.Hosting.RemoteHost\AtsCapabilityScanner.cs (10)
1704
: new AtsTypeRef { TypeId = AtsConstants.
Any
, Category = AtsTypeCategory.Primitive };
1731
propertyTypeRef = new AtsTypeRef { TypeId = AtsConstants.
Any
, Category = AtsTypeCategory.Primitive };
2473
return AtsConstants.
Any
;
2478
return AtsConstants.DictTypeId(AtsConstants.String, AtsConstants.
Any
);
2483
return AtsConstants.ListTypeId(AtsConstants.
Any
);
2804
return new AtsTypeRef { TypeId = AtsConstants.
Any
, ClrType = type, Category = AtsTypeCategory.Primitive };
2811
TypeId = AtsConstants.DictTypeId(AtsConstants.String, AtsConstants.
Any
),
2815
ValueType = new AtsTypeRef { TypeId = AtsConstants.
Any
, ClrType = typeof(object), Category = AtsTypeCategory.Primitive },
2824
TypeId = AtsConstants.ListTypeId(AtsConstants.
Any
),
2827
ElementType = new AtsTypeRef { TypeId = AtsConstants.
Any
, ClrType = typeof(object), Category = AtsTypeCategory.Primitive }
Aspire.Hosting.RemoteHost (11)
Ats\AtsMarshaller.cs (1)
150
if (typeRef.TypeId == TypeSystem.AtsConstants.
Any
)
AtsCapabilityScanner.cs (10)
1704
: new AtsTypeRef { TypeId = AtsConstants.
Any
, Category = AtsTypeCategory.Primitive };
1731
propertyTypeRef = new AtsTypeRef { TypeId = AtsConstants.
Any
, Category = AtsTypeCategory.Primitive };
2473
return AtsConstants.
Any
;
2478
return AtsConstants.DictTypeId(AtsConstants.String, AtsConstants.
Any
);
2483
return AtsConstants.ListTypeId(AtsConstants.
Any
);
2804
return new AtsTypeRef { TypeId = AtsConstants.
Any
, ClrType = type, Category = AtsTypeCategory.Primitive };
2811
TypeId = AtsConstants.DictTypeId(AtsConstants.String, AtsConstants.
Any
),
2815
ValueType = new AtsTypeRef { TypeId = AtsConstants.
Any
, ClrType = typeof(object), Category = AtsTypeCategory.Primitive },
2824
TypeId = AtsConstants.ListTypeId(AtsConstants.
Any
),
2827
ElementType = new AtsTypeRef { TypeId = AtsConstants.
Any
, ClrType = typeof(object), Category = AtsTypeCategory.Primitive }
Aspire.TypeSystem (1)
AtsConstants.cs (1)
318
Guid or Uri or
Any
or CancellationToken => true,