public XyzFileDefinition(Stream stream)
        {
            XDocument document = XDocument.Load(stream);

            Properties = new XyzFileProperties(document.Root.Element("XyzFileProperties"));
            EncodedImage = document.Root.Element("EncodedImage").Value;
            Content = document.Root.Element("Content").Value;
        }
Example #2
0
        public XyzFileDefinition(Stream stream)
        {
            XDocument document = XDocument.Load(stream);

            Properties   = new XyzFileProperties(document.Root.Element("XyzFileProperties"));
            EncodedImage = document.Root.Element("EncodedImage").Value;
            Content      = document.Root.Element("Content").Value;
        }