CollectionHelperOverwriteDestinationWithSourceT Method |
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.
Namespace: VirtualRadar.InterfaceAssembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static void OverwriteDestinationWithSource<T>(
IList<T> source,
IList<T> destination
)
Public Shared Sub OverwriteDestinationWithSource(Of T) (
source As IList(Of T),
destination As IList(Of T)
)
public:
generic<typename T>
static void OverwriteDestinationWithSource(
IList<T>^ source,
IList<T>^ destination
)
static member OverwriteDestinationWithSource :
source : IList<'T> *
destination : IList<'T> -> unit
Parameters
- source
- Type: System.Collections.GenericIListT
- destination
- Type: System.Collections.GenericIListT
Type Parameters
- T
See Also