/// <summary> /// Creates a new instance of the <see cref="ArrangementCollection"/> type. /// </summary> /// <param name="arrangements"> /// An array of initial <see cref="IArrangement"/>s that should be stored within the collection. /// </param> public ArrangementCollection(params IArrangement[] arrangements) { if (arrangements != null) { Arrangements.AddRange(arrangements); } }
/// <summary> /// Creates a new instance of the <see cref="ArrangementCollection"/> type. /// </summary> /// <param name="arrangements"> /// An array of initial <see cref="IArrangement"/>s that should be stored within the collection. /// </param> public ArrangementCollection(IEnumerable <IArrangement>?arrangements) { if (arrangements != null) { Arrangements.AddRange(arrangements); } }