Ejemplo n.º 1
0
        public void Update(DomainProperty Property)
        {
            String Name = Property.Xml.GetAttribute("Name");
            String subName = Dsl.SubName(Name);
            String Parent = Property.Parent.Xml.GetAttribute("Name");
            Xml.SetAttribute("XmlName", subName);

            DomainPropertyMoniker = Parent + "/" + Name;
        }
Ejemplo n.º 2
0
 public XmlPropertyData GetPropertyData(DomainProperty Property)
 {
     String Name = DomainClassMoniker + "/" + Property.Xml.GetAttribute("Name");
     foreach (DslElement element in ElementData)
     {
         XmlPropertyData xpd = new XmlPropertyData(element.Xml);
         if (xpd.IsValid &&
             xpd.DomainPropertyMoniker == Name) return xpd;
     }
     return null;
 }
Ejemplo n.º 3
0
 public XmlPropertyData(DomainProperty Property)
     : base(Property.OwnerDocument.CreateElement("XmlPropertyData"))
 {
     Update(Property);
 }