示例#1
0
        /// <summary>
        /// Returns a copy (clone) of this object
        /// </summary>
        public override object Clone()
        {
            ConditionList Clone = new ConditionList(this.Type);

            foreach (Condition Cond in SubConditions)
            {
                Clone.Add(Cond.Clone() as Condition);
            }

            return(Clone as object);
        }