Click or drag to resize
CollectionHelper Methods

The CollectionHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberApplySourceToDestination<TSource, 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.
Public methodStatic memberOverwriteDestinationWithSource<T>
Public methodStatic memberShallowCopy<T>(HashSet<T>)
Returns a copy of the hashset passed across.
Public methodStatic memberShallowCopy<T>(List<T>)
Returns a copy of the list passed across.
Public methodStatic memberShallowCopy<TKey, TValue>(Dictionary<TKey, TValue>)
Returns a copy of the dictionary passed across.
Top
See Also