Class ObservableCollectionExtensions
Provides extension methods for System.Collections.ObjectModel.ObservableCollection<T>s
Inheritance
System.Object
ObservableCollectionExtensions
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Sartorius.SAF.Extensions
Assembly: Sartorius.SAF.dll
Syntax
public static class ObservableCollectionExtensions
Methods
View SourceSyncFrom<T>(ObservableCollection<T>, IEnumerable<T>)
Synchronizes the specified System.Collections.Generic.IEnumerable<T> with the System.Collections.ObjectModel.ObservableCollection<T>.
Declaration
public static void SyncFrom<T>(this ObservableCollection<T> collection, IEnumerable<T> source)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.ObjectModel.ObservableCollection<T> | collection | The System.Collections.ObjectModel.ObservableCollection<T> that should be synced with the source System.Collections.Generic.IEnumerable<T>. |
System.Collections.Generic.IEnumerable<T> | source | The System.Collections.Generic.IEnumerable<T> that should be synced into the collection. |
Type Parameters
Name | Description |
---|---|
T | The type of elements in the collection. |