Skip to main content

Struct ChangeResult<UNIT>

Represents a change result from an event. Contains a New and an optional Old value which will likely be null on the first result within an event series.

Assembly: Meadow.Contracts.dll
View Source
Declaration
public struct ChangeResult<UNIT> : IChangeResult<UNIT> where UNIT : struct

Implements:
Meadow.IChangeResult<UNIT>

Properties

New

The value at the time of this event or notification.

View Source
Declaration
public UNIT New { readonly get; set; }

Old

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

View Source
Declaration
public UNIT? Old { readonly get; set; }

Implements