Class ValueChangedNotificationResult<T>
- Namespace
- NMF.Expressions
- Assembly
- NMF.Expressions.dll
Denotes the default implementation of a value change result
public class ValueChangedNotificationResult<T> : IValueChangedNotificationResult<T>, IValueChangedNotificationResult, INotificationResult
Type Parameters
T
The type of the value
- Inheritance
-
ValueChangedNotificationResult<T>
- Implements
- Inherited Members
- Extension Methods
Constructors
ValueChangedNotificationResult(INotifiable, T, T)
Creates a new notification result
public ValueChangedNotificationResult(INotifiable source, T oldValue, T newValue)
Parameters
source
INotifiableThe source DDG node
oldValue
TThe old value
newValue
TThe new value
Properties
Changed
True, if there were changes, otherwise False
public bool Changed { get; }
Property Value
NewValue
Gets the new value
public T NewValue { get; }
Property Value
- T
OldValue
Gets the old value
public T OldValue { get; }
Property Value
- T
Source
The source of this result
public INotifiable Source { get; }