/// <summary> /// Initializes object with the specified TrendValueCollection object. /// </summary> public TsCHdaTrendCollection(TsCHdaTrendCollection items) { if (items != null) { foreach (TsCHdaTrend item in items) { Add(item); } } }
/// <summary> /// Creates a deep copy of the object. /// </summary> public virtual object Clone() { TsCHdaTrendCollection clone = (TsCHdaTrendCollection)MemberwiseClone(); clone.trends_ = new ArrayList(); foreach (TsCHdaTrend trend in trends_) { clone.trends_.Add(trend.Clone()); } return(clone); }