Ejemplo n.º 1
0
 public void CaptureFields(IMutant mt)
 {
     string[] lst = mt.GetMutantFields();
     foreach (string fld in lst)
     {
         object v = mt.Get(fld, null);
         Set(fld, v, null);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Assigns all mutantic field of the given Mutantic object
 /// </summary>
 /// <param name="mt"></param>
 public virtual void CaptureFields(IMutant mt)
 {
   string[] flds = mt.GetMutantFields();
   foreach (string fld in flds)
   {
     Set(fld, mt.Get(fld, null), null);
   }
 }