Beispiel #1
0
        public async Task <EventStoreRepository> GetSut()
        {
            IEventStoreConnection con = await LocalConfig.GetConnection();

            EventStoreContext context = EventStoreContext.CreateDefault("aa", con);

            return(new EventStoreRepository(context, new EventSourceConfiguration()));
        }
Beispiel #2
0
        protected virtual EventStoreRepository GetSut(string prefix, IEventStoreConnection connection)
        {
            EventStoreContext context = EventStoreContext.CreateDefault(prefix, connection);

            return(new EventStoreRepository(context, new EventSourceConfiguration()));
        }