Implemented interface member:
44 references to Add
Aspire.Hosting.Azure (1)
Provisioning\JsonExtensions.cs (1)
19obj.AsObject().Add(key, node);
dotnet-user-jwts (2)
Helpers\JwtAuthenticationSchemeSettings.cs (1)
38authentication.Add(SchemesKey, new JsonObject
Helpers\SigningKeysHandler.cs (1)
92secrets.Add(signkingKeysPropertyName, JsonValue.Create(new[] { key }));
Microsoft.Extensions.AI.Abstractions (22)
src\Shared\JsonSchemaExporter\JsonSchemaExporter.JsonSchema.cs (20)
338objSchema.Add(JsonSchemaConstants.SchemaPropertyName, Schema); 343objSchema.Add(JsonSchemaConstants.TitlePropertyName, Title); 348objSchema.Add(JsonSchemaConstants.DescriptionPropertyName, Description); 353objSchema.Add(JsonSchemaConstants.RefPropertyName, Ref); 358objSchema.Add(JsonSchemaConstants.CommentPropertyName, Comment); 363objSchema.Add(JsonSchemaConstants.TypePropertyName, type); 368objSchema.Add(JsonSchemaConstants.FormatPropertyName, Format); 373objSchema.Add(JsonSchemaConstants.PatternPropertyName, Pattern); 378objSchema.Add(JsonSchemaConstants.ConstPropertyName, Constant); 386properties.Add(property.Key, property.Value.ToJsonNode(options)); 389objSchema.Add(JsonSchemaConstants.PropertiesPropertyName, properties); 400objSchema.Add(JsonSchemaConstants.RequiredPropertyName, requiredArray); 405objSchema.Add(JsonSchemaConstants.ItemsPropertyName, Items.ToJsonNode(options)); 410objSchema.Add(JsonSchemaConstants.AdditionalPropertiesPropertyName, AdditionalProperties.ToJsonNode(options)); 415objSchema.Add(JsonSchemaConstants.EnumPropertyName, Enum); 420objSchema.Add(JsonSchemaConstants.NotPropertyName, Not.ToJsonNode(options)); 431objSchema.Add(JsonSchemaConstants.AnyOfPropertyName, anyOfArray); 436objSchema.Add(JsonSchemaConstants.DefaultPropertyName, DefaultValue); 441objSchema.Add(JsonSchemaConstants.MinLengthPropertyName, (JsonNode)minLength); 446objSchema.Add(JsonSchemaConstants.MaxLengthPropertyName, (JsonNode)maxLength);
Utilities\AIJsonUtilities.Schema.cs (2)
281objSchema.Add(AdditionalPropertiesPropertyName, (JsonNode)false); 421jsonObject.Add(key, value);
System.Text.Json (19)
System\Text\Json\Nodes\JsonObject.cs (1)
101jObject.Add(item.Key, item.Value?.DeepCloneCore());
System\Text\Json\Nodes\JsonObject.IDictionary.cs (1)
49public void Add(KeyValuePair<string, JsonNode?> property) => Add(property.Key, property.Value);
System\Text\Json\Schema\JsonSchema.cs (17)
162objSchema.Add(RefPropertyName, Ref); 167objSchema.Add(CommentPropertyName, Comment); 172objSchema.Add(TypePropertyName, type); 177objSchema.Add(FormatPropertyName, Format); 182objSchema.Add(PatternPropertyName, Pattern); 187objSchema.Add(ConstPropertyName, Constant); 195properties.Add(property.Key, property.Value.ToJsonNode(options)); 198objSchema.Add(PropertiesPropertyName, properties); 209objSchema.Add(RequiredPropertyName, requiredArray); 214objSchema.Add(ItemsPropertyName, Items.ToJsonNode(options)); 219objSchema.Add(AdditionalPropertiesPropertyName, AdditionalProperties.ToJsonNode(options)); 224objSchema.Add(EnumPropertyName, Enum); 229objSchema.Add(NotPropertyName, Not.ToJsonNode(options)); 240objSchema.Add(AnyOfPropertyName, anyOfArray); 245objSchema.Add(DefaultPropertyName, DefaultValue); 250objSchema.Add(MinLengthPropertyName, (JsonNode)minLength); 255objSchema.Add(MaxLengthPropertyName, (JsonNode)maxLength);