Show / Hide Table of Contents

Class DeferrableObservableCollectionExtensions

Extension methods for DeferrableObservableCollection<T>.

Inheritance
object
DeferrableObservableCollectionExtensions
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 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.

IEnumerable<T> newItems

The new items to add.

Type Parameters
Name Description
T

The type of item in the collection.

Exceptions
Type Condition
ArgumentNullException

Throws if collection is null.

  • View Source
Back to top Generated by DocFX