12 writes to IsNullable
Aspire.Hosting.CodeGeneration.Java.Tests (2)
AtsJavaCodeGeneratorTests.cs (2)
2852IsNullable = false 2863IsNullable = false
Aspire.Hosting.CodeGeneration.Python (1)
AtsPythonCodeGenerator.cs (1)
388IsNullable = true,
Aspire.Hosting.CodeGeneration.Python.Tests (1)
AtsPythonCodeGeneratorTests.cs (1)
740IsNullable = true,
Aspire.Hosting.CodeGeneration.TypeScript (1)
AtsTypeScriptCodeGenerator.cs (1)
1540IsNullable = callbackProperty.Type.IsNullable == true,
Aspire.Hosting.RemoteHost (7)
Ats\ExternalCapabilityRegistry.cs (1)
788IsNullable = parameter.IsNullable,
AtsCapabilityScanner.cs (6)
1770IsNullable = false, 1813IsNullable = false, 1822IsNullable = false, 1935IsNullable = false, 2196IsNullable = false, 2239IsNullable = isNullable,
30 references to IsNullable
Aspire.Hosting.CodeGeneration.Java (13)
AtsJavaCodeGenerator.cs (13)
1093if (parameter.IsOptional || parameter.IsNullable) 1143var wrapperType = MapInputTypeToJava(parameter.Type, parameter.IsOptional || parameter.IsNullable); 1427.Select(type => new { Type = type, JavaType = MapInputTypeToJava(type, unionParameter.IsOptional || unionParameter.IsNullable) }) 1440? MapInputTypeToJava(unionType, unionParameter.IsOptional || unionParameter.IsNullable) 1475.Select(t => new { Type = t, JavaType = MapInputTypeToJava(t, up.IsOptional || up.IsNullable) }) 1497? MapInputTypeToJava(combination[unionIndex], parameter.IsOptional || parameter.IsNullable) 1617.Select(type => new { Type = type, JavaType = MapInputTypeToJava(type, unionParameter.IsOptional || unionParameter.IsNullable) }) 1630? MapInputTypeToJava(unionType, unionParameter.IsOptional || unionParameter.IsNullable) 1666WriteLine($" 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)}"))}) {{"); 1713var parameterType = MapInputTypeToJava(unionType, unionParameter.IsOptional || unionParameter.IsNullable); 1933var isOptional = callbackParam.IsOptional || callbackParam.IsNullable; 2241private static bool IsOmittableParameter(AtsParameterInfo parameter) => parameter.IsOptional || parameter.IsNullable; 2644parameter.IsOptional || parameter.IsNullable || parameter.Type?.IsNullable == true);
Aspire.Hosting.CodeGeneration.Python (9)
AtsPythonCodeGenerator.cs (9)
367if (extraParam.IsOptional || extraParam.IsNullable || extraParam.IsCallback) 502(param.IsNullable || AllowsNoneAtTopLevel(param.Type)); 550var annotatedType = param.IsNullable ? MakeNullable(param, mappedType) : mappedType; 1355var requiredParams = userParams.Where(p => !p.IsOptional && !p.IsNullable).ToList(); 1404if (param.IsOptional || param.IsNullable) 1667var requiredParams = userParams.Where(p => !p.IsOptional && !p.IsNullable).ToList(); 1744if (param.IsOptional || param.IsNullable) 1826if (param.IsOptional || param.IsNullable) 1862if (param.IsOptional || param.IsNullable)
Aspire.Hosting.CodeGeneration.TypeScript (7)
AtsTypeScriptCodeGenerator.cs (4)
1104var optional = param.IsOptional || param.IsNullable ? "?" : ""; 1452if (param.IsOptional || param.IsNullable) 1813var isOptional = callbackParam.IsOptional || callbackParam.IsNullable; 2862var optional = param.IsOptional || param.IsNullable ? "?" : "";
TypeScriptApiProjector.cs (3)
367IsOptional = parameter.IsOptional || parameter.IsNullable, 1295IsOptional = parameter.IsOptional || parameter.IsNullable, 2114if (param.IsOptional || param.IsNullable)
Aspire.Hosting.RemoteHost (1)
CodeGeneration\CodeGenerationService.cs (1)
135IsNullable = p.IsNullable,