Example #1
0
 public StepConvention(Func <string, bool> methodNameMatcher, SpecificationStepType stepTypeIfMatched)
 {
     stepType = stepTypeIfMatched;
     matcher  = methodNameMatcher;
 }
 public StepConvention(Func<string, bool> methodNameMatcher, SpecificationStepType stepTypeIfMatched)
 {
     stepType = stepTypeIfMatched;
     matcher = methodNameMatcher;
 }
Example #3
0
 static void AddStepConvention(Func <string, bool> methodNameMatcher, SpecificationStepType stepTypeIfMatched)
 => Conventions.Add(new StepConvention(methodNameMatcher, stepTypeIfMatched));
 static void AddStepConvention(Func<string, bool> methodNameMatcher, SpecificationStepType stepTypeIfMatched)
     => Conventions.Add(new StepConvention(methodNameMatcher, stepTypeIfMatched));