private void CloneProperties(object aClone) { Articy.Eai.Templates.IndiceTemplate newClone = ((Articy.Eai.Templates.IndiceTemplate)(aClone)); if ((Indice != null)) { newClone.Indice = ((Articy.Eai.Features.IndiceFeature)(Indice.CloneObject())); } }
public object CloneObject() { Articy.Eai.Templates.IndiceTemplate clone = new Articy.Eai.Templates.IndiceTemplate(); CloneProperties(clone); return(clone); }