Wrap up an enumerable to make it safe to return to a caller.
Namespace:
BioSharp.Core.UtilsAssembly: BioSharp.Core (in BioSharp.Core.dll) Version: 0.1.3191.26120 (0.1.0.0)
Syntax
C# |
---|
public static IEnumerable<T> NonRemoveCollectionWrapper( IEnumerable<T> toBeWrapped ) |
Parameters
- toBeWrapped
- Type: System.Collections.Generic..::.IEnumerable<(Of <(T>)>)
The IEnumerable to be wrapped.
Return Value
The wrapped IEnumerable.Remarks
Currently, this is just a pass-thru. It attempts to mimic the BioJava nonRemoveIterator() method.