CollectionExtensions.Concat Method (IEnumerator, IEnumerable)

This element is introduced in Windows PowerShell 5.0.


Namespace: Microsoft.OneGet.Utility.Extensions
Assembly: Microsoft.OneGet.Utility (in Microsoft.OneGet.Utility.dll)

'Usage
Dim set1 As IEnumerator(Of T)
Dim set2 As IEnumerable(Of T)
Dim returnValue As IEnumerable(Of T)

returnValue = CollectionExtensions.Concat(set1, set2)

[ExtensionAttribute] 
public static IEnumerable<T> Concat<T> (
	IEnumerator<T> set1,
	IEnumerable<T> set2
)

GenericParameters

T

Parameters

set1

set2

Return Value

Returns IEnumerable.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms


Show: