23 references to Void
Aspire.Hosting (9)
Ats\AtsCapabilityInfo.cs (1)
204
/// Use <see cref="AtsConstants.
Void
"/> TypeId for void return types.
Ats\AtsCapabilityScanner.cs (7)
1501
returnTypeRef = new AtsTypeRef { TypeId = AtsConstants.
Void
, Category = AtsTypeCategory.Primitive };
1505
returnTypeRef = 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 };
1545
var voidTypeRef = new AtsTypeRef { TypeId = AtsConstants.
Void
, Category = AtsTypeCategory.Primitive };
1862
TypeId = AtsConstants.
Void
,
Ats\AtsConstants.cs (1)
319
String or Char or Number or Boolean or
Void
=> true,
Aspire.Hosting.CodeGeneration.Go (2)
AtsGoCodeGenerator.cs (2)
296
var hasReturn = capability.ReturnType.TypeId != AtsConstants.
Void
;
697
AtsConstants.
Void
=> "",
Aspire.Hosting.CodeGeneration.Java (2)
AtsJavaCodeGenerator.cs (2)
276
var hasReturn = capability.ReturnType.TypeId != AtsConstants.
Void
;
661
AtsConstants.
Void
=> "void",
Aspire.Hosting.CodeGeneration.Python (2)
AtsPythonCodeGenerator.cs (2)
290
if (capability.ReturnType.TypeId == AtsConstants.
Void
)
624
AtsConstants.
Void
=> "None",
Aspire.Hosting.CodeGeneration.Rust (3)
AtsRustCodeGenerator.cs (3)
322
var hasReturn = capability.ReturnType.TypeId != AtsConstants.
Void
;
762
AtsConstants.
Void
=> "()",
788
AtsConstants.
Void
=> "()",
Aspire.Hosting.CodeGeneration.TypeScript (5)
AtsTypeScriptCodeGenerator.cs (5)
169
AtsConstants.
Void
=> "void",
1162
var returnType = callbackReturnType == null || callbackReturnType.TypeId == AtsConstants.
Void
1251
&& callbackParam.CallbackReturnType.TypeId != AtsConstants.
Void
;
2003
var isVoid = capability.ReturnType == null || capability.ReturnType.TypeId == AtsConstants.
Void
;
2200
var isVoid = capability.ReturnType == null || capability.ReturnType.TypeId == AtsConstants.
Void
;