code/Kingdom.OrTools.Sat.CodeGeneration.Tool.Tests/CollectionExtensionMethods.cs
/// <summary>
/// Adds the Range of <paramref name="values"/> to the <paramref name="collection"/>.
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="collection"></param>
/// <param name="values"></param>
/// <returns></returns>
Adds the Range of  to the .
Adds the Range of to the .
internal static ICollection<T> AddRange<T>(this ICollection<T> collection, params T[] values)
        {
            foreach (var x in values)
            {
                collection.Add(x);
            }
            return collection;
        }
internal static ICollection < T > AddRange < T > ( this ICollection < T > collection , params T [ ] values ) { foreach ( var x in values ) { collection . Add ( x ) ; } return collection ; }
Adds the Range of  to the .
Adds the Range of to the .
None
ICollection<T>
this
collection
None
values
None
typeparam
None