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)
1600
returnTypeRef = new AtsTypeRef { TypeId = AtsConstants.
Void
, Category = AtsTypeCategory.Primitive };
1604
returnTypeRef = 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 };
1644
var voidTypeRef = new AtsTypeRef { TypeId = AtsConstants.
Void
, Category = AtsTypeCategory.Primitive };
1961
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
;
703
AtsConstants.
Void
=> "",
Aspire.Hosting.CodeGeneration.Java (2)
AtsJavaCodeGenerator.cs (2)
276
var hasReturn = capability.ReturnType.TypeId != AtsConstants.
Void
;
667
AtsConstants.
Void
=> "void",
Aspire.Hosting.CodeGeneration.Python (2)
AtsPythonCodeGenerator.cs (2)
290
if (capability.ReturnType.TypeId == AtsConstants.
Void
)
627
AtsConstants.
Void
=> "None",
Aspire.Hosting.CodeGeneration.Rust (3)
AtsRustCodeGenerator.cs (3)
322
var hasReturn = capability.ReturnType.TypeId != AtsConstants.
Void
;
809
AtsConstants.
Void
=> "()",
835
AtsConstants.
Void
=> "()",
Aspire.Hosting.CodeGeneration.TypeScript (5)
AtsTypeScriptCodeGenerator.cs (5)
180
AtsConstants.
Void
=> "void",
1364
var returnType = callbackReturnType == null || callbackReturnType.TypeId == AtsConstants.
Void
1453
&& callbackParam.CallbackReturnType.TypeId != AtsConstants.
Void
;
2211
var isVoid = capability.ReturnType == null || capability.ReturnType.TypeId == AtsConstants.
Void
;
2408
var isVoid = capability.ReturnType == null || capability.ReturnType.TypeId == AtsConstants.
Void
;