private void CloneProperties(object aClone) { Articy.ManiacManfred.Templates.LocationSettingsTemplate newClone = ((Articy.ManiacManfred.Templates.LocationSettingsTemplate)(aClone)); if ((Soundfile != null)) { newClone.Soundfile = ((Articy.ManiacManfred.Features.SoundfileFeature)(Soundfile.CloneObject())); } if ((LocationSettings != null)) { newClone.LocationSettings = ((Articy.ManiacManfred.Features.LocationSettingsFeature)(LocationSettings.CloneObject())); } }
private void CloneProperties(object aClone) { Articy.ManiacManfred.Templates.DialogChoiceTemplate newClone = ((Articy.ManiacManfred.Templates.DialogChoiceTemplate)(aClone)); if ((Soundfile != null)) { newClone.Soundfile = ((Articy.ManiacManfred.Features.SoundfileFeature)(Soundfile.CloneObject())); } if ((DialogChoice != null)) { newClone.DialogChoice = ((Articy.ManiacManfred.Features.DialogChoiceFeature)(DialogChoice.CloneObject())); } }