Show / Hide Table of Contents

Class ObservableCollectionExtensions

Provides extension methods for ObservableCollection<T>s

Inheritance
object
ObservableCollectionExtensions
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Sartorius.SAF.Extensions
Assembly: Sartorius.SAF.dll
Syntax
public static class ObservableCollectionExtensions

Methods

View Source

SyncFrom<T>(ObservableCollection<T>, IEnumerable<T>)

Synchronizes the specified IEnumerable<T> with the ObservableCollection<T>.

Declaration
public static void SyncFrom<T>(this ObservableCollection<T> collection, IEnumerable<T> source)
Parameters
Type Name Description
ObservableCollection<T> collection

The ObservableCollection<T> that should be synced with the source IEnumerable<T>.

IEnumerable<T> source

The IEnumerable<T> that should be synced into the collection.

Type Parameters
Name Description
T

The type of elements in the collection.

  • View Source
Back to top Generated by DocFX