Implemented interface member:
8 references to ContainsKey
dotnet-user-jwts (1)
Helpers\SigningKeysHandler.cs (1)
80if (secrets.ContainsKey(signkingKeysPropertyName))
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (3)
UserJwtsTests.cs (3)
212Assert.True(secretsJson.ContainsKey(SigningKeysHandler.GetSigningKeyPropertyName(DevJwtsDefaults.Scheme))); 497Assert.True(secretsJson.ContainsKey(SigningKeysHandler.GetSigningKeyPropertyName("test-scheme"))); 519Assert.True(secretsJson.ContainsKey(SigningKeysHandler.GetSigningKeyPropertyName("test-scheme")));
Microsoft.ML.AutoML.SourceGenerator (4)
SearchSpaceGenerator.cs (4)
65var defaultToken = t.AsObject().ContainsKey("default") ? t["default"] : null; 86var searchSpaceNode = t.AsObject().ContainsKey("search_space") ? t["search_space"] : null; 93else if (searchSpaceNode is JsonObject searchSpaceObject && searchSpaceObject.ContainsKey("min")) 99var logBase = searchSpaceObject.ContainsKey("log_base") is false ? "false" : searchSpaceNode["log_base"].GetValue<bool>() ? "true" : "false";