public override void ReadFrom(XElement xE)
 {
     base.ReadFrom(xE);
     Operand = null;
     foreach (var xItem in xE.Elements())
     {
         var localName = xItem.Name.LocalName;
         if (localName == "operand")
         {
             Operand = new ManagedCustomerLabel();
             Operand.ReadFrom(xItem);
         }
     }
 }
Exemple #2
0
 public virtual void ReadFrom(XElement xE)
 {
     Value = null;
     foreach (var xItem in xE.Elements())
     {
         var localName = xItem.Name.LocalName;
         if (localName == "value")
         {
             if (Value == null)
             {
                 Value = new List <ManagedCustomerLabel>();
             }
             var valueItem = new ManagedCustomerLabel();
             valueItem.ReadFrom(xItem);
             Value.Add(valueItem);
         }
     }
 }