Show / Hide Table of Contents

Class ValueChangedNotificationResult<T>

Denotes the default implementation of a value change result

Inheritance
object
ValueChangedNotificationResult<T>
Implements
IValueChangedNotificationResult<T>
IValueChangedNotificationResult
INotificationResult
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: NMF.Expressions
Assembly: NMF.Expressions.dll
Syntax
public class ValueChangedNotificationResult<T> : IValueChangedNotificationResult<T>, IValueChangedNotificationResult, INotificationResult
Type Parameters
Name Description
T

The type of the value

Constructors

| Edit this page View Source

ValueChangedNotificationResult(INotifiable, T, T)

Creates a new notification result

Declaration
public ValueChangedNotificationResult(INotifiable source, T oldValue, T newValue)
Parameters
Type Name Description
INotifiable source

The source DDG node

T oldValue

The old value

T newValue

The new value

Properties

| Edit this page View Source

Changed

True, if there were changes, otherwise False

Declaration
public bool Changed { get; }
Property Value
Type Description
bool
| Edit this page View Source

NewValue

Gets the new value

Declaration
public T NewValue { get; }
Property Value
Type Description
T
| Edit this page View Source

OldValue

Gets the old value

Declaration
public T OldValue { get; }
Property Value
Type Description
T
| Edit this page View Source

Source

The source of this result

Declaration
public INotifiable Source { get; }
Property Value
Type Description
INotifiable

Implements

IValueChangedNotificationResult<T>
IValueChangedNotificationResult
INotificationResult

Extension Methods

ExpressionExtensions.AsOne<T>(T)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX