예제 #1
0
        static bool MatchesTableWithHeader(Step Step, MethodInfo Method)
        {
            if (Method.HasObjectArgFor(Step))
            {
                Step.Type = StepType.ObjectTable;
            }

            var TableArgsCount = Step.Type == StepType.ObjectTable ? 1
                : Step.Table.Header.Count;

            return(Method.ArgsCount() == Step.Args.Count + TableArgsCount);
        }