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 SourcePropertyChangedTracker(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 SourceChangedProperties
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 SourceReset()
Resets the tracked notifications.
Declaration
public void Reset()