Table of Contents

Class TradeEvent<T>

Namespace
Virtufin.Base.Events.Trade
Assembly
Virtufin.Base.dll

Sealed algebraic data type of trade events parameterised by RichTradeAction. Each case carries the originating action for correlation. Topics use the naming scheme sc.{scenarioId}.trade.{entity}.{event}.

public abstract record TradeEvent<T> : ITradeEvent<RichTradeAction, T>, IEvent<T>, IEquatable<IEvent<T>>, IEquatable<TradeEvent<T>> where T : IComparable<T>

Type Parameters

T

The event's own time type.

Inheritance
TradeEvent<T>
Implements
Derived
Inherited Members

Properties

Action

The action that produced this event (carried for correlation and audit).

public abstract RichTradeAction Action { get; }

Property Value

RichTradeAction

Time

The time at which this event's fact occurred.

public abstract T Time { get; }

Property Value

T