public static IEventFlowOptions UseInMemorySnapshotPersistence(
     this IEventFlowOptions eventFlowOptions)
 {
     return(eventFlowOptions.UseSnapshotPersistence <InMemorySnapshotPersistence>(ServiceLifetime.Singleton));
 }