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