CollectionExtensions.AddRangeLocked Method

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 list As List(Of T)
Dim items As IEnumerable(Of T)

CollectionExtensions.AddRangeLocked(list, items)

[ExtensionAttribute] 
public static void AddRangeLocked<T> (
	List<T> list,
	IEnumerable<T> items
)

GenericParameters

T

Parameters

list

items

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: