public override BaseElement Clone() { CompensateEventDefinition clone = new CompensateEventDefinition(); clone.SetValues(this); return(clone); }
public void SetValues(CompensateEventDefinition otherDefinition) { base.SetValues(otherDefinition); activityRef = otherDefinition.ActivityRef; waitForCompletion = otherDefinition.IsWaitForCompletion; }