コード例 #1
0
        public override BaseElement Clone()
        {
            ScriptTask clone = new ScriptTask();

            clone.SetValues(this);
            return(clone);
        }
コード例 #2
0
 public void SetValues(ScriptTask otherElement)
 {
     base.SetValues(otherElement);
     scriptFormat       = otherElement.ScriptFormat;
     script             = otherElement.Script;
     resultVariable     = otherElement.ResultVariable;
     autoStoreVariables = otherElement.IsAutoStoreVariables;
 }