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)
16 references to TryGetValue
Aspire.Hosting.RemoteHost (10)
Ats\AtsMarshaller.cs (8)
304if (node is JsonValue callbackValue && callbackValue.TryGetValue<string>(out var callbackId)) 337if (node is JsonValue tokenValue && tokenValue.TryGetValue<string>(out var tokenId) && !string.IsNullOrEmpty(tokenId)) 449if (value.TryGetValue<string>(out var enumName)) 454if (value.TryGetValue<int>(out var enumValue)) 498if (value.TryGetValue<double>(out var ms)) 502if (value.TryGetValue<string>(out var str)) 512if (value.TryGetValue<string>(out var str)) 521if (value.TryGetValue<string>(out var str))
Ats\ReferenceExpressionRef.cs (2)
70!formatValue.TryGetValue<string>(out var format)) 142else if (providerNode is JsonValue jsonValue && jsonValue.TryGetValue<string>(out var stringValue))
Microsoft.AspNetCore.OpenApi (3)
Extensions\JsonNodeSchemaExtensions.cs (2)
536return jsonNode is JsonValue jsonValue && jsonValue.TryGetValue<string>(out var identifier) 545if (node is JsonValue jsonValue && jsonValue.TryGetValue<string>(out var identifier))
Services\Schemas\OpenApiSchemaService.cs (1)
467refValue.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)
32if (otherNode is JsonValue otherValue && otherValue.TryGetValue(out TValue? v))
System\Text\Json\Serialization\JsonSerializer.Read.HandleMetadata.cs (1)
466jsonValue.TryGetValue(out string? value) &&