public object Clone() { ConditionElement element = new ConditionElement(this); return element; }
public object Clone() { ConditionElement element = new ConditionElement(this); return(element); }
private ConditionElement(ConditionElement element) { this.ConditionCollection = element.ConditionCollection == null ? null : element.ConditionCollection.Select(T => (Condition)T.Clone()).ToList(); // this.ParameterAlarmConfigList = config.ParameterAlarmConfigList == null ? null : config.ParameterAlarmConfigList.Select(T => (ParameterAlarmConfig)T.Clone()).ToList(); }