17 references to JsonObject
aspire (1)
Projects\NativeAppHostServerProject.cs (1)
132["sdkFiles"] = new JsonObject(provider.Descriptor.SdkFiles.Select(file =>
Aspire.Cli.Tests (3)
DotNet\DotNetRestoreConfigurationTests.cs (2)
35var values = new JsonObject(properties.Select(name => KeyValuePair.Create<string, JsonNode?>(name, JsonValue.Create("")))); 65var values = new JsonObject(properties.Select(name => KeyValuePair.Create<string, JsonNode?>(name, JsonValue.Create(""))));
TestServices\TestDotNetCliRunner.cs (1)
171var values = new JsonObject(properties.Select(name =>
Aspire.Hosting.Native.CodeGeneration (1)
Program.cs (1)
241"export const nativeTypes = " + new JsonObject(context.HandleTypes.Select(handle => KeyValuePair.Create(
Aspire.Hosting.Native.Core.Tests (2)
NativeComposeCSharpTests.cs (1)
135["environment"] = new JsonObject(environment.Select(pair => KeyValuePair.Create(pair.Key, (JsonNode?)JsonValue.Create(pair.Value))))
TestServices\RpcTestClient.cs (1)
85new(values.Select(value => KeyValuePair.Create(value.Name, value.Value?.DeepClone())));
Aspire.Hosting.Native.Server (4)
Api\PublishingApi.cs (2)
37var configuration = new JsonObject(resource.Configuration.Select(entry => 100["parameterDefaults"] = new JsonObject(snapshot.Parameters.Where(parameter => parameter.HasDefault)
Rpc\NativeProviderRegistry.cs (2)
324JsonObject obj => new JsonObject(obj.Select(pair => KeyValuePair.Create(pair.Key, Translate(pair.Value)))), 348JsonObject obj => new JsonObject(obj.Select(pair => KeyValuePair.Create(pair.Key, DelegateResult(pair.Value)))),
NativeIntegrations.DockerCompose (6)
ComposeModels.cs (3)
195service["environment"] = new JsonObject(environment.Select(pair => 213volume["labels"] = new JsonObject(labels.Select(pair => 351JsonObject obj => new JsonObject(obj.Select(pair => KeyValuePair.Create(pair.Key, EscapeNode(pair.Value)))),
DockerComposeGenerator.cs (3)
181service["environment"] = new JsonObject(serviceEnvironment); 271service["depends_on"] = new JsonObject(dependencies.Select(dependency => 286compose["volumes"] = new JsonObject(volumes);