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