CollectionExtensions.

AddRange<T>(Collection<T>, IEnumerable<T>) Method

Summary

Adds all elements from the source into target.
Assembly
Mercurial.Net.dll
Namespace
Mercurial
Containing Type
CollectionExtensions

Syntax

public static void AddRange<T>(this Collection<T> target, IEnumerable<T> source)

Type Parameters

Name Description
T The type of elements to add.

Parameters

Name Type Description
target Collection<T> The collection to add the elements to.
source IEnumerable<T> The collection to add elements from.

Return Value

Type Description
void