Click or drag to resize
CollectionHelper Class
A static class with methods that can help when dealing with collections.
Inheritance Hierarchy
SystemObject
  VirtualRadar.InterfaceCollectionHelper

Namespace: VirtualRadar.Interface
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static class CollectionHelper

The CollectionHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberApplySourceToDestinationTSource, 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 memberOverwriteDestinationWithSourceT
Public methodStatic memberShallowCopyT(HashSetT)
Returns a copy of the hashset passed across.
Public methodStatic memberShallowCopyT(ListT)
Returns a copy of the list passed across.
Public methodStatic memberShallowCopyTKey, TValue(DictionaryTKey, TValue)
Returns a copy of the dictionary passed across.
Top
See Also