예제 #1
0
        public IEnumerable <T> All()
        {
            var storedEntities = _EventStream.GetAll();

            foreach (var storedEntity in storedEntities)
            {
                var entity = CreateEntity(storedEntity);
                if (entity != null)
                {
                    yield return(entity);
                }
            }
        }