public static AppRunner StopAfter(this AppRunner runner, MiddlewareStep step)
 => runner.Configure(cfg => cfg.UseMiddleware((c, n) => ExitCodes.Success, step + 1));
Ejemplo n.º 2
0
 public Step(string name, MiddlewareStep step)
 {
     this.name = name;
     this.step = step;
 }
Ejemplo n.º 3
0
 protected bool Equals(MiddlewareStep other)
 {
     return Stage == other.Stage
            && OrderWithinStage == other.OrderWithinStage;
 }