示例#1
0
文件: SourcedEventT.cs 项目: 0xCM/z0
 public SourcedEvent(AgentEventId id, T data)
 {
     EventId = id;
     Payload = data;
 }
示例#2
0
文件: PulseEvent.cs 项目: 0xCM/z0
 internal PulseEvent(AgentEventId id)
 => Identity = id;
示例#3
0
 public static SourcedEvent <T> define <T>(AgentEventId id, T data)
     where T : unmanaged
 => new SourcedEvent <T>(id, data);
示例#4
0
 public SourcedEvent(AgentEventId id)
 => EventId = id;
示例#5
0
 public static SourcedEvent define(AgentEventId id)
 => new SourcedEvent(id);