Ejemplo n.º 1
0
        private void FromXml(XElement XFrameDescription)
        {
            Descriptor  = Convert.ToInt32(XFrameDescription.Attribute("Descriptor").Value, 16);
            Name        = (string)XFrameDescription.Attribute("Name");
            Description = XFrameDescription.Element("Description").Value.Trim();

            Properties = XFrameDescription.Elements("Property").Select(XProperty => PropertyDescription.GetProperty(XProperty)).ToList();
        }