Implemented interface members:
17 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)
302
Assert.True(secretsJson.
ContainsKey
(SigningKeysHandler.GetSigningKeyPropertyName(DevJwtsDefaults.Scheme)));
587
Assert.True(secretsJson.
ContainsKey
(SigningKeysHandler.GetSigningKeyPropertyName("test-scheme")));
609
Assert.True(secretsJson.
ContainsKey
(SigningKeysHandler.GetSigningKeyPropertyName("test-scheme")));
Microsoft.AspNetCore.JsonPatch.SystemTextJson.Tests (2)
JsonPatchDocumentJObjectTest.cs (2)
90
Assert.False(model.CustomData.
ContainsKey
("LastName"));
106
Assert.False(model.CustomData.
ContainsKey
("FirstName"));
Microsoft.Extensions.AI.Abstractions (5)
Utilities\AIJsonUtilities.Schema.Create.cs (4)
272
if (ctx.TypeInfo.Type.IsEnum && objSchema.
ContainsKey
(EnumPropertyName) && !objSchema.
ContainsKey
(TypePropertyName))
278
if (Nullable.GetUnderlyingType(ctx.TypeInfo.Type)?.IsEnum is true && objSchema.
ContainsKey
(EnumPropertyName) && !objSchema.
ContainsKey
(TypePropertyName))
Utilities\AIJsonUtilities.Schema.Transform.cs (1)
128
if (transformOptions.DisallowAdditionalProperties && properties is not null && !schemaObj.
ContainsKey
(AdditionalPropertiesPropertyName))
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";
Shared.Tests (1)
JsonSchemaExporter\JsonSchemaExporterTests.cs (1)
127
Assert.False(schema is JsonObject jObj && jObj.
ContainsKey
("type"));
System.Text.Json (1)
System\Text\Json\Serialization\Converters\Node\JsonObjectConverter.cs (1)
41
if (jObject.
ContainsKey
(propertyName))