public Step(Sdk.Step step) { this.step = step; }
public Step(string text, Func <Task> body, StepType stepType) { this.step = CurrentScenario.AddStep(text, body, stepType); }
public Step(string text, Func <IStepContext, Task> body, StepType stepType) { this.step = new StepContext(text, body, stepType).Step; }
public Step(string text, Action body, StepType stepType) { this.step = CurrentScenario.AddStep(text, body, stepType); }
public Step(string text, Action <IStepContext> body, StepType stepType) { this.step = new StepContext(text, body, stepType).Step; }
public Step(string text, Func<IStepContext, Task> body, StepType stepType) { this.step = new StepContext(text, body, stepType).Step; }
public Step(string text, Func<Task> body, StepType stepType) { this.step = CurrentScenario.AddStep(text, body, stepType); }
public Step(string text, Action<IStepContext> body, StepType stepType) { this.step = new StepContext(text, body, stepType).Step; }