8 writes to IsNullable
Aspire.Hosting.CodeGeneration.Python (1)
AtsPythonCodeGenerator.cs (1)
369IsNullable = true,
Aspire.Hosting.CodeGeneration.TypeScript (1)
AtsTypeScriptCodeGenerator.cs (1)
1525IsNullable = callbackProperty.Type.IsNullable == true,
Aspire.Hosting.RemoteHost (6)
AtsCapabilityScanner.cs (6)
1694IsNullable = false, 1736IsNullable = false, 1745IsNullable = false, 1858IsNullable = false, 2115IsNullable = false, 2158IsNullable = isNullable,
29 references to IsNullable
Aspire.Hosting.CodeGeneration.Java (13)
AtsJavaCodeGenerator.cs (13)
1078if (parameter.IsOptional || parameter.IsNullable) 1128var 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) 1647WriteLine($" 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)}"))}) {{"); 1694var parameterType = MapInputTypeToJava(unionType, unionParameter.IsOptional || unionParameter.IsNullable); 1911var isOptional = callbackParam.IsOptional || callbackParam.IsNullable; 2160private static bool IsOmittableParameter(AtsParameterInfo parameter) => parameter.IsOptional || parameter.IsNullable; 2561return MapInputTypeToJava(parameter.Type, parameter.IsOptional || parameter.IsNullable);
Aspire.Hosting.CodeGeneration.Python (8)
AtsPythonCodeGenerator.cs (8)
348if (extraParam.IsOptional || extraParam.IsNullable || extraParam.IsCallback) 496if (param.IsNullable) 1282var requiredParams = userParams.Where(p => !p.IsOptional && !p.IsNullable).ToList(); 1331if (param.IsOptional || param.IsNullable) 1593var requiredParams = userParams.Where(p => !p.IsOptional && !p.IsNullable).ToList(); 1670if (param.IsOptional || param.IsNullable) 1750if (param.IsOptional || param.IsNullable) 1786if (param.IsOptional || param.IsNullable)
Aspire.Hosting.CodeGeneration.TypeScript (7)
AtsTypeScriptCodeGenerator.cs (4)
1089var optional = param.IsOptional || param.IsNullable ? "?" : ""; 1437if (param.IsOptional || param.IsNullable) 1843var isOptional = callbackParam.IsOptional || callbackParam.IsNullable; 2892var optional = param.IsOptional || param.IsNullable ? "?" : "";
TypeScriptApiProjector.cs (3)
367IsOptional = parameter.IsOptional || parameter.IsNullable, 1291IsOptional = parameter.IsOptional || parameter.IsNullable, 2086if (param.IsOptional || param.IsNullable)
Aspire.Hosting.RemoteHost (1)
CodeGeneration\CodeGenerationService.cs (1)
126IsNullable = p.IsNullable,