Ejemplo n.º 1
0
 protected Component(TAggregateRoot aggregateRoot)
     : this(
         timeSource : aggregateRoot.TimeSource,
         raiseEventThroughParent : aggregateRoot.RaiseEvent,
         appliersRegistrar : aggregateRoot.RegisterEventAppliers(),
         registerEventAppliers : true)
 {
 }
Ejemplo n.º 2
0
 public static CollectionManager CreateSelfManagingCollection(TAggregateRoot parent)
 => new CollectionManager(parent, parent.RaiseEvent, parent.RegisterEventAppliers());
Ejemplo n.º 3
0
 protected Entity(TAggregateRoot aggregateRoot)
     : this(aggregateRoot.TimeSource, aggregateRoot.RaiseEvent, aggregateRoot.RegisterEventAppliers())
 {
 }
 public new static CollectionManager CreateSelfManagingCollection(TAggregateRoot parent)
 =>
 new CollectionManager(
     parent: parent,
     raiseEventThroughParent: parent.RaiseEvent,
     appliersRegistrar: parent.RegisterEventAppliers());