CancellableBlockingCollection.Implicit Method

This element is introduced in Windows PowerShell 5.0.


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

'Usage
Dim input As CancellableBlockingCollection(Of T)
Dim output As CancellableEnumerable(Of T)

output = CType(input, CancellableEnumerable(Of T))

public static implicit operator CancellableEnumerable<T> (
	CancellableBlockingCollection<T> collection
)

Parameters

collection

Return Value

Returns CancellableEnumerable.

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: