8 writes to IsNullable
Aspire.Hosting.CodeGeneration.Python (1)
AtsPythonCodeGenerator.cs (1)
369
IsNullable
= true,
Aspire.Hosting.CodeGeneration.TypeScript (1)
AtsTypeScriptCodeGenerator.cs (1)
1525
IsNullable
= callbackProperty.Type.IsNullable == true,
Aspire.Hosting.RemoteHost (6)
AtsCapabilityScanner.cs (6)
1694
IsNullable
= false,
1736
IsNullable
= false,
1745
IsNullable
= false,
1858
IsNullable
= false,
2115
IsNullable
= false,
2158
IsNullable
= isNullable,
29 references to IsNullable
Aspire.Hosting.CodeGeneration.Java (13)
AtsJavaCodeGenerator.cs (13)
1078
if (parameter.IsOptional || parameter.
IsNullable
)
1128
var wrapperType = MapInputTypeToJava(parameter.Type, parameter.IsOptional || parameter.
IsNullable
);
1408
.Select(type => new { Type = type, JavaType = MapInputTypeToJava(type, unionParameter.IsOptional || unionParameter.
IsNullable
) })
1421
? MapInputTypeToJava(unionType, unionParameter.IsOptional || unionParameter.
IsNullable
)
1456
.Select(t => new { Type = t, JavaType = MapInputTypeToJava(t, up.IsOptional || up.
IsNullable
) })
1478
? MapInputTypeToJava(combination[unionIndex], parameter.IsOptional || parameter.
IsNullable
)
1598
.Select(type => new { Type = type, JavaType = MapInputTypeToJava(type, unionParameter.IsOptional || unionParameter.
IsNullable
) })
1611
? MapInputTypeToJava(unionType, unionParameter.IsOptional || unionParameter.
IsNullable
)
1647
WriteLine($" public {returnInfo.ReturnType} {methodName}({string.Join(", ", requiredParameters.Select(parameter => ReferenceEquals(parameter, unionParameter) ? $"{MapInputTypeToJava(unionType, unionParameter.IsOptional || unionParameter.
IsNullable
)} {ToCamelCase(parameter.Name)}" : $"{MapParameterToJava(parameter)} {ToCamelCase(parameter.Name)}"))}) {{");
1694
var parameterType = MapInputTypeToJava(unionType, unionParameter.IsOptional || unionParameter.
IsNullable
);
1911
var isOptional = callbackParam.IsOptional || callbackParam.
IsNullable
;
2160
private static bool IsOmittableParameter(AtsParameterInfo parameter) => parameter.IsOptional || parameter.
IsNullable
;
2561
return MapInputTypeToJava(parameter.Type, parameter.IsOptional || parameter.
IsNullable
);
Aspire.Hosting.CodeGeneration.Python (8)
AtsPythonCodeGenerator.cs (8)
348
if (extraParam.IsOptional || extraParam.
IsNullable
|| extraParam.IsCallback)
496
if (param.
IsNullable
)
1282
var requiredParams = userParams.Where(p => !p.IsOptional && !p.
IsNullable
).ToList();
1331
if (param.IsOptional || param.
IsNullable
)
1593
var requiredParams = userParams.Where(p => !p.IsOptional && !p.
IsNullable
).ToList();
1670
if (param.IsOptional || param.
IsNullable
)
1750
if (param.IsOptional || param.
IsNullable
)
1786
if (param.IsOptional || param.
IsNullable
)
Aspire.Hosting.CodeGeneration.TypeScript (7)
AtsTypeScriptCodeGenerator.cs (4)
1089
var optional = param.IsOptional || param.
IsNullable
? "?" : "";
1437
if (param.IsOptional || param.
IsNullable
)
1843
var isOptional = callbackParam.IsOptional || callbackParam.
IsNullable
;
2892
var optional = param.IsOptional || param.
IsNullable
? "?" : "";
TypeScriptApiProjector.cs (3)
367
IsOptional = parameter.IsOptional || parameter.
IsNullable
,
1291
IsOptional = parameter.IsOptional || parameter.
IsNullable
,
2086
if (param.IsOptional || param.
IsNullable
)
Aspire.Hosting.RemoteHost (1)
CodeGeneration\CodeGenerationService.cs (1)
126
IsNullable = p.
IsNullable
,