4 overrides of TryGetValue
System.Text.Json (4)
System\Text\Json\Nodes\JsonValueOfJsonPrimitive.cs (3)
66public override bool TryGetValue<T>([NotNullWhen(true)] out T? value) 150public override bool TryGetValue<T>([NotNullWhen(true)] out T? value) 197public override bool TryGetValue<T>([NotNullWhen(true)] out T? value)
System\Text\Json\Nodes\JsonValueOfT.cs (1)
38public override bool TryGetValue<T>([NotNullWhen(true)] out T value)
18 references to TryGetValue
Aspire.Hosting.RemoteHost (11)
Ats\AtsMarshaller.cs (8)
342if (node is JsonValue callbackValue && callbackValue.TryGetValue<string>(out var callbackId)) 375if (node is JsonValue tokenValue && tokenValue.TryGetValue<string>(out var tokenId) && !string.IsNullOrEmpty(tokenId)) 486if (value.TryGetValue<string>(out var enumName)) 491if (value.TryGetValue<int>(out var enumValue)) 535if (value.TryGetValue<double>(out var ms)) 539if (value.TryGetValue<string>(out var str)) 549if (value.TryGetValue<string>(out var str)) 558if (value.TryGetValue<string>(out var str))
Ats\ReferenceExpressionRef.cs (3)
90matchValueJsonValue.TryGetValue<string>(out var mv)) 107!formatValue.TryGetValue<string>(out var format)) 230else if (providerNode is JsonValue jsonValue && jsonValue.TryGetValue<string>(out var stringValue))
Microsoft.TemplateEngine.Cli (1)
JExtensions.cs (1)
253if (token is JsonValue jv && jv.TryGetValue(out int intVal))
Microsoft.TemplateEngine.Edge (1)
src\sdk\src\TemplateEngine\Shared\JExtensions.cs (1)
130if (token is JsonValue jv && jv.TryGetValue(out int intVal))
Microsoft.TemplateEngine.Utils (1)
src\sdk\src\TemplateEngine\Shared\JExtensions.cs (1)
130if (token is JsonValue jv && jv.TryGetValue(out int intVal))
Microsoft.TemplateSearch.Common (1)
src\sdk\src\TemplateEngine\Shared\JExtensions.cs (1)
130if (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)
32if (otherNode is JsonValue otherValue && otherValue.TryGetValue(out TValue? v))
System\Text\Json\Serialization\JsonSerializer.Read.HandleMetadata.cs (1)
466jsonValue.TryGetValue(out string? value) &&