示例#1
0
 private void CloneProperties(object aClone)
 {
     Articy.Eai.Features.profil_typeFeature newClone = ((Articy.Eai.Features.profil_typeFeature)(aClone));
     newClone.SmallTextValue    = SmallTextValue;
     newClone.NumberValue       = NumberValue;
     newClone.MediumTextValue   = MediumTextValue;
     newClone.SmallTextValue_02 = SmallTextValue_02;
     if ((mgene != null))
     {
         newClone.mgene = ((ArticyValueArticyObject)(mgene.CloneObject()));
     }
     if ((mcolere != null))
     {
         newClone.mcolere = ((ArticyValueArticyObject)(mcolere.CloneObject()));
     }
 }
示例#2
0
 public object CloneObject()
 {
     Articy.Eai.Features.profil_typeFeature clone = new Articy.Eai.Features.profil_typeFeature();
     CloneProperties(clone);
     return(clone);
 }