Show / Hide Table of Contents

Class PropertyChangedTracker

This class helps to track if a property changed event has been raised.

Inheritance
System.Object
PropertyChangedTracker
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.QualityTools.Testing
Assembly: Sartorius.SAF.QualityTools.dll
Syntax
public class PropertyChangedTracker

Constructors

View Source

PropertyChangedTracker(INotifyPropertyChanged)

Initializes a new class of the PropertyChangedTracker

Declaration
public PropertyChangedTracker(INotifyPropertyChanged changer)
Parameters
Type Name Description
System.ComponentModel.INotifyPropertyChanged changer

The concrete class that has properties and implements INotifyPropertyChanged.

Properties

View Source

ChangedProperties

Returns the changed properties in order fired.

Declaration
public string[] ChangedProperties { get; }
Property Value
Type Description
System.String[]
Remarks

Returns string[] since this will often be used with CollectionAssert() which does not work well with IEnumerable.

Methods

View Source

Reset()

Resets the tracked notifications.

Declaration
public void Reset()

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
  • View Source
Back to top Generated by DocFX