private void CloneProperties(object aClone) { Articy.Asylumjame.Features.Item_featureFeature newClone = ((Articy.Asylumjame.Features.Item_featureFeature)(aClone)); newClone.ItemName = ItemName; if ((mItemIcon != null)) { newClone.mItemIcon = ((ArticyValueArticyObject)(mItemIcon.CloneObject())); } }
public object CloneObject() { Articy.Asylumjame.Features.Item_featureFeature clone = new Articy.Asylumjame.Features.Item_featureFeature(); CloneProperties(clone); return(clone); }