public override BaseElement Clone() { ScriptTask clone = new ScriptTask(); clone.SetValues(this); return(clone); }
public void SetValues(ScriptTask otherElement) { base.SetValues(otherElement); scriptFormat = otherElement.ScriptFormat; script = otherElement.Script; resultVariable = otherElement.ResultVariable; autoStoreVariables = otherElement.IsAutoStoreVariables; }