using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace Packaging.Targets.Rpm
{
///
/// Provides extension methods for the class.
///
internal static class CollectionExtensions
{
///
/// Adds multiple values at once.
///
///
/// The type of the values.
///
///
/// The collection to which to add the values.
///
///
/// The values to add.
///
public static void AddRange(this Collection collection, IEnumerable values)
{
foreach (var v in values)
{
collection.Add(v);
}
}
}
}