コード例 #1
0
 private Type ToDtoType(string eventName, int eventVersion) =>
 _registry.EventType(eventName, eventVersion)
 .IfNone(() => throw new Exception($"event revision not registered: ({eventName}, {eventVersion})"));