/// <summary> /// Initializes object with the specified TrendValueCollection object. /// </summary> public TrendCollection(TrendCollection items) { if (items != null) { foreach (Trend item in items) { Add(item); } } }
// Token: 0x06000547 RID: 1351 RVA: 0x0000F614 File Offset: 0x0000E614 public TrendCollection(TrendCollection items) { if (items != null) { foreach (object obj in items) { Trend value = (Trend)obj; this.Add(value); } } }
// Token: 0x06000548 RID: 1352 RVA: 0x0000F680 File Offset: 0x0000E680 public virtual object Clone() { TrendCollection trendCollection = (TrendCollection)base.MemberwiseClone(); trendCollection.m_trends = new ArrayList(); foreach (object obj in this.m_trends) { Trend trend = (Trend)obj; trendCollection.m_trends.Add(trend.Clone()); } return(trendCollection); }
/// <summary> /// Creates a deep copy of the object. /// </summary> public virtual object Clone() { TrendCollection clone = (TrendCollection)MemberwiseClone(); clone.m_trends = new ArrayList(); foreach (Trend trend in m_trends) { clone.m_trends.Add(trend.Clone()); } return(clone); }