TechTalk.SpecFlow.ErrorHandling.ErrorProvider.GetParameterCountError C# (CSharp) Метод

GetParameterCountError() публичный Метод

public GetParameterCountError ( TechTalk.SpecFlow.Bindings.BindingMatch match, int expectedParameterCount ) : Exception
match TechTalk.SpecFlow.Bindings.BindingMatch
expectedParameterCount int
Результат System.Exception
        public Exception GetParameterCountError(BindingMatch match, int expectedParameterCount)
        {
            return new BindingException(
                string.Format("Parameter count mismatch! The binding method '{0}' should have {1} parameters",
                    GetMethodText(match.StepBinding.Method), expectedParameterCount));
        }