| ObservableWrappedCollectionTSource, TTarget Constructor |
Namespace:
TomsToolbox.ObservableCollections
Assembly:
TomsToolbox.ObservableCollections (in TomsToolbox.ObservableCollections.dll)
Syntax public ObservableWrappedCollection(
IEnumerable sourceCollection,
Func<TSource, TTarget> itemGenerator
)
Public Sub New (
sourceCollection As IEnumerable,
itemGenerator As Func(Of TSource, TTarget)
)
Parameters
- sourceCollection
- Type: System.CollectionsIEnumerable
The source collection to wrap. This instance will not hold a reference to the source collection. - itemGenerator
- Type: SystemFuncTSource, TTarget
The item generator to generate the wrapper for each item.
See Also