public async Task <EventStoreRepository> GetSut() { IEventStoreConnection con = await LocalConfig.GetConnection(); EventStoreContext context = EventStoreContext.CreateDefault("aa", con); return(new EventStoreRepository(context, new EventSourceConfiguration())); }
protected virtual EventStoreRepository GetSut(string prefix, IEventStoreConnection connection) { EventStoreContext context = EventStoreContext.CreateDefault(prefix, connection); return(new EventStoreRepository(context, new EventSourceConfiguration())); }