Exemplo n.º 1
0
 private Application(
     dddlib.Persistence.IEventStoreRepository eventStoreRepository,
     dddlib.Projections.IRepository <int, List <CarItem> > carListRepository)
 {
     this.eventStoreRepository = eventStoreRepository;
     this.carListRepository    = carListRepository;
 }
Exemplo n.º 2
0
        public CarListView(dddlib.Projections.IRepository <int, List <CarItem> > repository)
        {
            Guard.Against.Null(() => repository);

            this.repository = repository;
        }