public ActionMethodInfo(Regex actionStepMatcher, object action, MethodInfo methodInfo, string actionType, object instance) { ActionStepMatcher = actionStepMatcher; Action = action; MethodInfo = methodInfo; ActionType = actionType; Instance = instance; FileMatcher = new MatchAllFiles(); MethodParametersType = FigureOutParameterTypes(); }