Table of Contents

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 INotifiable

The source DDG node

oldValue T

The old value

newValue T

The new value

Properties

Changed

True, if there were changes, otherwise False

public bool Changed { get; }

Property Value

bool

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; }

Property Value

INotifiable