Show / Hide Table of Contents

Class DeferrableObservableCollectionExtensions

Extension methods for DeferrableObservableCollection<T>.

Inheritance
System.Object
DeferrableObservableCollectionExtensions
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 DeferrableObservableCollectionExtensions

Methods

View Source

ReplaceAll<T>(DeferrableObservableCollection<T>, IEnumerable<T>)

Replaces all items in the DeferrableObservableCollection<T> with the supplied items.

Declaration
public static void ReplaceAll<T>(this DeferrableObservableCollection<T> collection, IEnumerable<T> newItems)
Parameters
Type Name Description
DeferrableObservableCollection<T> collection

The DeferrableObservableCollection<T> to replace the items inside.

System.Collections.Generic.IEnumerable<T> newItems

The new items to add.

Type Parameters
Name Description
T

The type of item in the collection.

Exceptions
Type Condition
System.ArgumentNullException

Throws if collection is null.

  • View Source
Back to top Generated by DocFX