Example #1
0
 public SourcedEvent(AgentEventId id, T data)
 {
     EventId = id;
     Payload = data;
 }
Example #2
0
 internal PulseEvent(AgentEventId id)
 => Identity = id;
Example #3
0
 public static SourcedEvent <T> define <T>(AgentEventId id, T data)
     where T : unmanaged
 => new SourcedEvent <T>(id, data);
Example #4
0
 public SourcedEvent(AgentEventId id)
 => EventId = id;
Example #5
0
 public static SourcedEvent define(AgentEventId id)
 => new SourcedEvent(id);