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)
18 references to TryGetValue
Aspire.Hosting.RemoteHost (11)
Ats\AtsMarshaller.cs (8)
342
if (node is JsonValue callbackValue && callbackValue.
TryGetValue
<string>(out var callbackId))
375
if (node is JsonValue tokenValue && tokenValue.
TryGetValue
<string>(out var tokenId) && !string.IsNullOrEmpty(tokenId))
486
if (value.
TryGetValue
<string>(out var enumName))
491
if (value.
TryGetValue
<int>(out var enumValue))
535
if (value.
TryGetValue
<double>(out var ms))
539
if (value.
TryGetValue
<string>(out var str))
549
if (value.
TryGetValue
<string>(out var str))
558
if (value.
TryGetValue
<string>(out var str))
Ats\ReferenceExpressionRef.cs (3)
90
matchValueJsonValue.
TryGetValue
<string>(out var mv))
107
!formatValue.
TryGetValue
<string>(out var format))
230
else if (providerNode is JsonValue jsonValue && jsonValue.
TryGetValue
<string>(out var stringValue))
Microsoft.TemplateEngine.Cli (1)
JExtensions.cs (1)
253
if (token is JsonValue jv && jv.
TryGetValue
(out int intVal))
Microsoft.TemplateEngine.Edge (1)
src\sdk\src\TemplateEngine\Shared\JExtensions.cs (1)
130
if (token is JsonValue jv && jv.
TryGetValue
(out int intVal))
Microsoft.TemplateEngine.Utils (1)
src\sdk\src\TemplateEngine\Shared\JExtensions.cs (1)
130
if (token is JsonValue jv && jv.
TryGetValue
(out int intVal))
Microsoft.TemplateSearch.Common (1)
src\sdk\src\TemplateEngine\Shared\JExtensions.cs (1)
130
if (token is JsonValue jv && jv.
TryGetValue
(out int intVal))
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) &&