Ejemplo n.º 1
0
        public override void Deserialize(XElement parentNode, SerializationContext context)
        {
            base.Deserialize(parentNode, context);

            if (parentNode.Attribute("Label") != null)
            {
                Label = SerializationContext.DecodeString(parentNode.Attribute("Label").Value);
            }

            if (parentNode.Attribute("Number") != null)
            {
                Number = SerializationContext.DecodeInt(parentNode.Attribute("Number").Value);
            }

            branchedFromGuid = this.DeserializeIDRef("branchedFromVerID", parentNode, context, true);
        }