| ObservableWrappedCollectionTSource, TTarget Constructor |
Namespace: TomsToolbox.ObservableCollectionsAssembly: TomsToolbox.ObservableCollections (in TomsToolbox.ObservableCollections.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax public ObservableWrappedCollection(
IEnumerable sourceCollection,
Func<TSource, TTarget> itemGenerator
)
Public Sub New (
sourceCollection As IEnumerable,
itemGenerator As Func(Of TSource, TTarget)
)
Parameters
- sourceCollection IEnumerable
- The source collection to wrap. This instance will not hold a reference to the source collection.
- itemGenerator FuncTSource, TTarget
- The item generator to generate the wrapper for each item.
See Also