/// <summary> /// Clean up. Nothing here though. /// </summary> public virtual void Dispose() { this.parentCollection = null; this.Dispose(true); GC.SuppressFinalize(this); }
/// <summary> /// Performs the specified action on each element of the specified array. /// </summary> /// <param name="list">The list.</param> /// <param name="action">The action.</param> public static void ForEach <U>(TList <U> list, Action <U> action) where U : IEntity, new() { list.ForEach(action); }