Example #1
0
        public void Visit(XElement element, ParsingContext context)
        {
            var table = context.Serializer.Deserialize <TableSchemaMetadata>(element);

            context.CurrentObject <List <TableSchemaMetadata> >().Add(table);
            context.PushObject(table);
        }
Example #2
0
        public void Visit(XElement element, ParsingContext context)
        {
            var field = context.Serializer.Deserialize <FieldSchemaMetadata>(element);

            context.CurrentObject <TableSchemaMetadata>().AddField(field);
            context.PushObject(field);
        }