9 references to Create
Aspire.Hosting.Azure.Tests (2)
AzureEventHubsExtensionsTests.cs (1)
402
document["Custom"] = JsonValue.
Create
(42);
AzureServiceBusExtensionsTests.cs (1)
513
document["Custom"] = JsonValue.
Create
(42);
Aspire.Hosting.RemoteHost.Tests (6)
AtsMarshallerTests.cs (3)
169
var value = JsonValue.
Create
(42);
199
var value = JsonValue.
Create
(42);
589
var json = JsonValue.
Create
(1); // ValueB is index 1
CallbackProxyTests.cs (1)
74
var invoker = new TestCallbackInvoker { ResultToReturn = JsonValue.
Create
(42) };
CapabilityDispatcherTests.cs (2)
81
dispatcher.Register("test/capability@1", (_, _) => Task.FromResult<JsonNode?>(JsonValue.
Create
(42)));
640
var invoker = new TestCallbackInvoker { ResultToReturn = JsonValue.
Create
(42) };
System.Text.Json (1)
System\Text\Json\Nodes\JsonNode.Operators.cs (1)
141
public static implicit operator JsonNode(int value) => JsonValue.
Create
(value);