Ejemplo n.º 1
0
        protected override void LoadAttributes(IXmlElement element)
        {
            base.LoadAttributes(element);

            if (this.propertyType.Length > 0)
            {
                Property property = this.Engine.CreateProperty(this.propertyType, this.Name, "", this.textReference);

                if (null != property)
                {
                    this.Property = property;
                }
            }
        }
Ejemplo n.º 2
0
 internal void LoadAttributes(IXmlElement element)
 {
     base.Name = element.GetAttributeValue("name", base.Name);
     this.text = element.GetAttributeValue("text", this.text);
     this.Icon = element.GetAttributeValue("icon", this.Icon);
 }