| | | 1 | | using Newtonsoft.Json.Linq; |
| | | 2 | | using ValidateLib.ErrorsAndWarnings.Warnings; |
| | | 3 | | using ValidateLib.Metadata.Descriptors.Interfaces; |
| | | 4 | | using ValidateLib.Metadata.Parsers; |
| | | 5 | | using ValidateLib.Metadata.Properties; |
| | | 6 | | using ValidateLib.Metadata.PropertyParsers; |
| | | 7 | | |
| | | 8 | | namespace ValidateLib.Metadata.Descriptors |
| | | 9 | | { |
| | | 10 | | |
| | | 11 | | public class NoteDescriptor : DescriptorBase, INormalize, Interfaces.IParsable<NoteDescriptor> |
| | | 12 | | { |
| | 1 | 13 | | public CommonProperty? Note { get; set; } |
| | | 14 | | |
| | | 15 | | public static List<Warning> Normalize(JToken token, Context context, JProperty? property = null) |
| | | 16 | | { |
| | 0 | 17 | | return CommonProperty.Normalize(token, context, property); |
| | | 18 | | } |
| | | 19 | | |
| | 0 | 20 | | public static IParser<NoteDescriptor> GetParser(List<Warning> warnings, NoteDescriptor? descriptor = null) => ne |
| | | 21 | | |
| | | 22 | | public IPropertyParserBase? GetPropertyParser(JProperty property, List<Warning> warnings) |
| | | 23 | | { |
| | 0 | 24 | | throw new NotImplementedException(); |
| | | 25 | | } |
| | | 26 | | } |
| | | 27 | | } |