16 writes to Value
Aspire.Hosting.CodeGeneration.Go.Tests (6)
AtsGoCodeGeneratorTests.cs (1)
1256Value = JsonNode.Parse("[1,null,2.5]"),
AtsGoDerivedBuilderTests.cs (1)
584Value = JsonValue.Create("default"),
GoDocCommentTests.cs (2)
460Value = JsonNode.Parse("""{"DisplayName":"primary","Enabled":true,"Port":8080}"""), 468Value = JsonNode.Parse("""{"DisplayName":"secondary","Enabled":false,"Port":8081}"""),
GoGeneratorEscapingTests.cs (2)
174Value = JsonValue.Create("primary"), 194Value = value
Aspire.Hosting.CodeGeneration.Java.Tests (3)
AtsJavaCodeGeneratorTests.cs (3)
3632Value = new JsonObject { ["Default"] = "probe" }, 3666Value = JsonNode.Parse("[1,null,2.5]"), 3673Value = JsonNode.Parse("[true,null,false]"),
Aspire.Hosting.CodeGeneration.Rust.Tests (1)
AtsRustCodeGeneratorTests.cs (1)
193Value = JsonNode.Parse("[1,null,2.5]"),
Aspire.Hosting.Native.CodeGeneration (1)
src\Aspire.Hosting.RemoteHost\AtsCapabilityScanner.cs (1)
1359Value = SerializeExportedValue(getValue(), memberType),
Aspire.Hosting.RemoteHost (1)
AtsCapabilityScanner.cs (1)
1359Value = SerializeExportedValue(getValue(), memberType),
Aspire.Hosting.RemoteHost.Tests (4)
AtsContextFilterTests.cs (3)
582Value = JsonValue.Create("selected") 595Value = JsonNode.Parse("""{"mode":"Run"}""") 608Value = JsonValue.Create("unrelated")
ExternalCapabilityRegistryTests.cs (1)
965Value = JsonValue.Create("managed-value")
8 references to Value
Aspire.Hosting.CodeGeneration.Go (2)
AtsGoCodeGenerator.ApiProjection.cs (1)
446Value = RenderGoExportedValue(leaf.Value.Value, leaf.Value.Type, dtoTypesById),
AtsGoCodeGenerator.cs (1)
959sb.Append(RenderGoExportedValue(valueInfo.Value, valueInfo.Type, dtoTypesById));
Aspire.Hosting.CodeGeneration.Java (1)
AtsJavaCodeGenerator.cs (1)
851var expression = RenderJavaExportedValue(valueInfo.Value, valueInfo.Type, dtoTypesById);
Aspire.Hosting.CodeGeneration.Python (1)
AtsPythonCodeGenerator.cs (1)
990sb.AppendLine(CultureInfo.InvariantCulture, $"{childPath} = {RenderPythonExportedValue(valueInfo.Value, valueInfo.Type, dtoTypesById, topLevel: true)}");
Aspire.Hosting.CodeGeneration.Rust (1)
AtsRustCodeGenerator.cs (1)
318WriteLine($"{indent} serde_json::from_value::<{returnType}>(serde_json::json!({valueInfo.Value?.ToRelaxedJsonString() ?? "null"}))");
Aspire.Hosting.CodeGeneration.TypeScript (1)
TypeScriptApiProjector.cs (1)
756var literal = RenderTypeScriptExportedValue(exportedValue.Value, exportedValue.Type);
Aspire.Hosting.RemoteHost (1)
CodeGeneration\CodeGenerationService.cs (1)
205Value = value.Value?.DeepClone(),
Aspire.Hosting.RemoteHost.Tests (1)
AtsCapabilityScannerTests.cs (1)
809var valueObject = Assert.IsType<JsonObject>(exportedValue.Value);