public InRepoConfiguration WithEvent(IRepositoryEvent @event) { RepositoryEventRegistry.Register(@event); return this; }