8 references to TryGetPropertyValue
Aspire.Hosting.Tests (1)
Utils\ManifestUtils.cs (1)
73
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.Extensions.AI.Abstractions (3)
Utilities\AIJsonUtilities.Schema.cs (3)
258
if (key.ParameterName is not null && objSchema.
TryGetPropertyValue
(RefPropertyName, out JsonNode? paramName))
286
objSchema.
TryGetPropertyValue
(PropertiesPropertyName, out JsonNode? properties) &&
289
_ = objSchema.
TryGetPropertyValue
(RequiredPropertyName, out JsonNode? required);
System.Text.Json (1)
System\Text\Json\Nodes\JsonObject.cs (1)
212
if (
TryGetPropertyValue
(propertyName, out JsonNode? value))