10 references to AsArray
Aspire.Hosting.Azure.Tests (1)
AzureBicepProvisionerTests.cs (1)
65
Assert.Equal(["a", "b", "c"], parameters["values"]?["value"]?.
AsArray
()?.Select(v => v?.ToString()) ?? []);
dotnet-user-jwts (1)
Helpers\SigningKeysHandler.cs (1)
82
var signingKeys = secrets[signkingKeysPropertyName].
AsArray
();
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (6)
UserJwtsTests.cs (6)
521
var signingKey = Assert.Single(secretsJson[SigningKeysHandler.GetSigningKeyPropertyName(DevJwtsDefaults.Scheme)].
AsArray
());
549
var signingKey = Assert.Single(secretsJson[SigningKeysHandler.GetSigningKeyPropertyName(DevJwtsDefaults.Scheme)].
AsArray
());
588
var signingKey = Assert.Single(secretsJson[SigningKeysHandler.GetSigningKeyPropertyName("test-scheme")].
AsArray
());
610
var signingKeys = secretsJson[SigningKeysHandler.GetSigningKeyPropertyName("test-scheme")].
AsArray
();
631
var signingKey1 = Assert.Single(secretsJson[SigningKeysHandler.GetSigningKeyPropertyName("test-scheme")].
AsArray
());
635
var signingKey2 = Assert.Single(secretsJson[SigningKeysHandler.GetSigningKeyPropertyName("test-scheme-2")].
AsArray
());
Microsoft.ML.AutoML.SourceGenerator (2)
SearchSpaceGenerator.cs (2)
40
var searchSpaceJArray = jNode["search_space"].
AsArray
();
115
var values = searchSpaceNode.
AsArray
().Select(x => x.Deserialize<string>());