Ejemplo n.º 1
0
 protected override void AllEventsWritten()
 {
     if (CommitSource.ReplicationPosition >= LastEventPosition)
     {
         Committed();
     }
     else if (!Registered)
     {
         CommitSource.NotifyFor(LastEventPosition, Committed, CommitLevel.Replicated);
         Registered = true;
     }
 }
Ejemplo n.º 2
0
 protected virtual void AllEventsWritten()
 {
     if (CommitSource.IndexedPosition >= LastEventPosition)
     {
         Committed();
     }
     else if (!Registered)
     {
         CommitSource.NotifyFor(LastEventPosition, Committed);
         Registered = true;
     }
 }