1 instantiation of PropertyDef
Microsoft.NET.ProjectData.Generators (1)
DataModelSchemaGenerator.cs (1)
191 result.Add(new(name, GetOptionalDescription(property, propertyPath)));
10 references to PropertyDef
Microsoft.NET.ProjectData.Generators (10)
DataModelSchemaGenerator.cs (10)
153 List<PropertyDef> requiredProperties = ParseProperties(requiredPropertiesElement, "properties.required", propertyNames); 154 List<PropertyDef> optionalProperties = ParseProperties(optionalPropertiesElement, "properties.optional", propertyNames); 174 private static List<PropertyDef> ParseProperties(JsonElement properties, string path, HashSet<string> propertyNames) 176 List<PropertyDef> result = []; 556 foreach (PropertyDef property in schema.Required) 562 foreach (PropertyDef property in schema.Optional) 702 foreach (PropertyDef property in schema.Required) 708 foreach (PropertyDef property in schema.Optional) 889 List<PropertyDef> Required, 890 List<PropertyDef> Optional,