CollectionHelper Class |
Namespace: VirtualRadar.Interface
The CollectionHelper type exposes the following members.
Name | Description | |
---|---|---|
ApplySourceToDestinationTSource, TDest |
Generic (and not particularly efficient) method that takes two generic collections, where the generic types
are related to each other in some way and each row has something that is unique about it, and applies add,
update and delete operations to the destination so that the content matches the source.
| |
OverwriteDestinationWithSourceT |
A version of ApplySourceToDestinationTSource, TDest(ICollectionTSource, ICollectionTDest, FuncTSource, TDest, Boolean, FuncTSource, TDest, ActionTSource, TDest) that is suitable for synchronising lists of values. There is no
conversion between types and the source and destination must both implement IList. Values are not compared, the
destination elements are just overwritten with the source.
| |
ShallowCopyT(HashSetT) |
Returns a copy of the hashset passed across.
| |
ShallowCopyT(ListT) |
Returns a copy of the list passed across.
| |
ShallowCopyTKey, TValue(DictionaryTKey, TValue) |
Returns a copy of the dictionary passed across.
|