private CheckpointStrategy CreateCheckpointStrategy()
 {
     var result = new CheckpointStrategy.Builder();
     result.FromAll();
     result.AllEvents();
     return result.Build(ProjectionMode.Persistent);
 }
 public void setup()
 {
     var builder = new CheckpointStrategy.Builder();
     builder.FromStream("stream1");
     builder.AllEvents();
     _strategy = builder.Build(ProjectionConfig.GetTest());
 }
 protected CheckpointStrategy CreateCheckpointStrategy()
 {
     var result = new CheckpointStrategy.Builder();
     result.FromAll();
     result.AllEvents();
     return result.Build();
 }
 public void setup()
 {
     var builder = new CheckpointStrategy.Builder();
     builder.FromStream("stream1");
     builder.AllEvents();
     _strategy = builder.Build(ProjectionMode.Persistent);
 }
 public void it_can_be_created()
 {
     var builder = new CheckpointStrategy.Builder();
     builder.FromAll();
     builder.AllEvents();
     var cs = builder.Build(ProjectionMode.Persistent);
 }
 public void it_can_be_created()
 {
     var builder = new CheckpointStrategy.Builder();
     builder.FromAll();
     builder.AllEvents();
     var cs = builder.Build(ProjectionConfig.GetTest());
 }
 private CheckpointStrategy CreateCheckpointStrategy()
 {
     var result = new CheckpointStrategy.Builder();
     if (_source != null)
     {
         _source(result);
     }
     else
     {
         result.FromAll();
         result.AllEvents();
     }
     return result.Build(ProjectionMode.Persistent);
 }
 private CheckpointStrategy CreateCheckpointStrategy()
 {
     var result = new CheckpointStrategy.Builder();
     result.FromAll();
     result.AllEvents();
     return result.Build(ProjectionConfig.GetTest());
 }
 protected virtual CheckpointStrategy CreateCheckpointStrategy()
 {
     var result = new CheckpointStrategy.Builder();
     if (_source != null)
     {
         _source(result);
     }
     else
     {
         result.FromAll();
         result.AllEvents();
         result.SetEmitStateUpdated();
     }
     return result.Build(ProjectionConfig.GetTest());
 }
 protected virtual CheckpointStrategy CreateCheckpointStrategy()
 {
     var result = new CheckpointStrategy.Builder();
     var readerBuilder = new ReaderStrategy.Builder();
     if (_source != null)
     {
         _source(readerBuilder);
         _source(result);
     }
     else
     {
         readerBuilder.FromAll();
         readerBuilder.AllEvents();
         result.FromAll();
         result.AllEvents();
     }
     var config = ProjectionConfig.GetTest();
     return result.Build(config, null, readerBuilder.Build(new RealTimeProvider(), runAs: null));
 }