Characteristic Locus
Namespace Meadow
Assembly Meadow.Contracts.dll

Syntax

public interface IChangeResult<UNIT> where UNIT : struct

Type Parameters

Name Description
UNIT

A unit type that carries the result data. Must be a struct. Will most often be a unit such as Temperature or Mass, but can also be a primitive type such as int, float, or even DateTime.

Properties

New

The value at the time of this event or notification.

Declaration
UNIT New { get; set; }

Property Value

Type Description
UNIT

Old

The previous value before this event or notification, or null if there was no previous value.

Declaration
UNIT? Old { get; set; }

Property Value

Type Description
UNIT?