Ejemplo n.º 1
0
 public EventChecker(TestableDomain uow, IdRegistry ids, TestableEventFactory factory, TEntity entity)
 {
     _ids     = ids;
     _uow     = uow;
     _factory = factory;
     _entity  = entity;
 }
Ejemplo n.º 2
0
 public EventPlanner(TestableDomain uow, IdRegistry ids, TestableEventStore events, TestableSnapshotStore snapshots, TestableEventFactory factory, Func <TEntity> entityFactory, string bucket, TestableId id, IEntity parent = null)
 {
     _ids           = ids;
     _uow           = uow;
     _events        = events;
     _snapshots     = snapshots;
     _factory       = factory;
     _entityFactory = entityFactory;
     _bucket        = bucket;
     _id            = id;
     _parent        = parent;
 }
Ejemplo n.º 3
0
 public TestableRepository(TParent parent, TestableDomain uow, IdRegistry ids)
     : base(uow, ids)
 {
     _parent = parent;
 }
Ejemplo n.º 4
0
 public ModelPlanner(TestableApplication app, IdRegistry ids, Id id)
 {
     _app = app;
     _ids = ids;
     _id  = _ids.MakeId(id);
 }