Exemple #1
0
        protected override void FormatTagElement(DoABCDefineTag tag, XElement xTag)
        {
            xTag.Add(new XElement("abc", FormatBase64(tag.ABCData)));

            var reader = new AbcDataReader(new MemoryStream(tag.ABCData));
            var info   = reader.ReadAbcFile();

            xTag.Add(XAbcFile.ToXml(info));
        }
Exemple #2
0
        protected override void FormatTagElement(DoABCTag tag, XElement xTag)
        {
            xTag.Add(new XAttribute("flags", tag.Flags));
            xTag.Add(new XAttribute("name", tag.Name));
            xTag.Add(new XElement("abc", FormatBase64(tag.ABCData)));

            var reader = new AbcDataReader(new MemoryStream(tag.ABCData));
            var info   = reader.ReadAbcFile();

            xTag.Add(XAbcFile.ToXml(info));
        }