Exemple #1
0
        internal void Apply(ProjectionController controller)
        {
            switch (Type)
            {
            case CommandType.HighWater:
                controller.MarkHighWater(HighWaterMark);
                break;

            case CommandType.RangeCompleted:
                controller.EventRangeUpdated(Range);
                break;

            case CommandType.Start:
                controller.Start(HighWaterMark, LastCommitted);
                break;
            }
        }
 public ProjectionControllerTests()
 {
     theController = new ProjectionController(new ShardName("the projection"), _theAgent, theOptions);
 }
 public ProjectionControllerTests()
 {
     theController = new ProjectionController(new ShardName("the projection"), theUpdater, theOptions);
 }
 public ProjectionControllerTests()
 {
     theController = new ProjectionController("the projection", theUpdater, theOptions);
 }
Exemple #5
0
 public ProjectionControllerTests()
 {
     theController = new ProjectionController(this, theView);
 }