示例#1
0
        public override async Task Execute(ProjectionScenario scenario)
        {
            _action(scenario.Session.Events);

            if (scenario.NextStep is ScenarioAssertion)
            {
                await scenario.Session.SaveChangesAsync();

                await scenario.WaitForNonStaleData();
            }
        }
示例#2
0
 public override Task Execute(ProjectionScenario scenario)
 {
     return(_check(scenario.Session));
 }
示例#3
0
 public abstract Task Execute(ProjectionScenario scenario);