public void SetValues(BusinessRuleTask otherElement) { base.SetValues(otherElement); resultVariableName = otherElement.ResultVariableName; exclude = otherElement.IsExclude; className = otherElement.ClassName; ruleNames = new List <string>(otherElement.RuleNames); inputVariables = new List <string>(otherElement.InputVariables); }