public override void RestoreFrom(object o) { EECExportDestination backupExportDestination = o as EECExportDestination; base.RestoreFrom(backupExportDestination as CustomExportDestination); this.settings.SetEmbeddedSettings(backupExportDestination.settings.GetEmbeddedSettings()); }
public override object Backup() { EECExportDestination clone = base.Backup() as EECExportDestination; SIEESettings s = (SIEESettings)SIEESerializer.Clone(settings.GetEmbeddedSettings()); clone.settings.SetEmbeddedSettings(s); return(clone); }