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