public static InboxEventMessage ToInboxEventMessage(this BaseIntegrationEvent @event) { return(new InboxEventMessage() { Id = @event.Id.ToString(), DateTime = DateTime.UtcNow, EventData = @event }); }
public Task AddAsync(BaseIntegrationEvent @event) { throw new InboxEventStoreNotRegisteredException(); }