4 overrides of TryGetValue
System.Text.Json (4)
System\Text\Json\Nodes\JsonValueOfJsonPrimitive.cs (3)
66
public override bool
TryGetValue
<T>([NotNullWhen(true)] out T? value)
150
public override bool
TryGetValue
<T>([NotNullWhen(true)] out T? value)
197
public override bool
TryGetValue
<T>([NotNullWhen(true)] out T? value)
System\Text\Json\Nodes\JsonValueOfT.cs (1)
38
public override bool
TryGetValue
<T>([NotNullWhen(true)] out T value)
16 references to TryGetValue
Aspire.Hosting.RemoteHost (10)
Ats\AtsMarshaller.cs (8)
304
if (node is JsonValue callbackValue && callbackValue.
TryGetValue
<string>(out var callbackId))
337
if (node is JsonValue tokenValue && tokenValue.
TryGetValue
<string>(out var tokenId) && !string.IsNullOrEmpty(tokenId))
449
if (value.
TryGetValue
<string>(out var enumName))
454
if (value.
TryGetValue
<int>(out var enumValue))
498
if (value.
TryGetValue
<double>(out var ms))
502
if (value.
TryGetValue
<string>(out var str))
512
if (value.
TryGetValue
<string>(out var str))
521
if (value.
TryGetValue
<string>(out var str))
Ats\ReferenceExpressionRef.cs (2)
70
!formatValue.
TryGetValue
<string>(out var format))
142
else if (providerNode is JsonValue jsonValue && jsonValue.
TryGetValue
<string>(out var stringValue))
Microsoft.AspNetCore.OpenApi (3)
Extensions\JsonNodeSchemaExtensions.cs (2)
536
return jsonNode is JsonValue jsonValue && jsonValue.
TryGetValue
<string>(out var identifier)
545
if (node is JsonValue jsonValue && jsonValue.
TryGetValue
<string>(out var identifier))
Services\Schemas\OpenApiSchemaService.cs (1)
467
refValue.
TryGetValue
<string>(out var refString) &&
System.Text.Json (3)
System\Text\Json\Nodes\JsonNode.cs (1)
191
/// <seealso cref="System.Text.Json.Nodes.JsonValue.
TryGetValue
"></seealso>
System\Text\Json\Nodes\JsonValueOfTPrimitive.cs (1)
32
if (otherNode is JsonValue otherValue && otherValue.
TryGetValue
(out TValue? v))
System\Text\Json\Serialization\JsonSerializer.Read.HandleMetadata.cs (1)
466
jsonValue.
TryGetValue
(out string? value) &&