12 references to TryGetPropertyValue
Aspire.Hosting.Azure.Tests (1)
AzureManifestUtils.cs (1)
33
if (!manifestNode.AsObject().
TryGetPropertyValue
("path", out var pathNode))
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (3)
UserJwtsTests.cs (3)
303
Assert.True(secretsJson.
TryGetPropertyValue
("Foo", out var fooField));
524
Assert.True(secretsJson.
TryGetPropertyValue
("Foo", out var fooField));
552
Assert.True(secretsJson.
TryGetPropertyValue
("Foo", out var fooField));
Microsoft.AspNetCore.JsonPatch.SystemTextJson (3)
Internal\JsonObjectAdapter.cs (3)
37
if (!obj.
TryGetPropertyValue
(segment, out var valueAsToken))
98
if (!obj.
TryGetPropertyValue
(segment, out var currentValue))
129
if (!obj.
TryGetPropertyValue
(segment, out var nextTargetToken))
Microsoft.Extensions.AI.Abstractions (4)
Utilities\AIJsonUtilities.Schema.cs (4)
259
if (parameterName is not null && objSchema.
TryGetPropertyValue
(RefPropertyName, out JsonNode? paramName))
287
objSchema.
TryGetPropertyValue
(PropertiesPropertyName, out JsonNode? properties) &&
290
_ = objSchema.
TryGetPropertyValue
(RequiredPropertyName, out JsonNode? required);
300
objSchema.
TryGetPropertyValue
(DefaultPropertyName, out JsonNode? defaultValue))
System.Text.Json (1)
System\Text\Json\Nodes\JsonObject.cs (1)
201
if (
TryGetPropertyValue
(propertyName, out JsonNode? value))