6 references to TryGetPropertyValue
Aspire.Hosting (1)
Devcontainers\DevcontainerSettingsWriter.cs (1)
53
if (!portsAttributes.
TryGetPropertyValue
(portAsString, out var portAttributeNode))
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)
250
Assert.True(secretsJson.
TryGetPropertyValue
("Foo", out var fooField));
471
Assert.True(secretsJson.
TryGetPropertyValue
("Foo", out var fooField));
499
Assert.True(secretsJson.
TryGetPropertyValue
("Foo", out var fooField));
System.Text.Json (1)
System\Text\Json\Nodes\JsonObject.cs (1)
212
if (
TryGetPropertyValue
(propertyName, out JsonNode? value))