/// <summary> /// Try the Input type /// </summary> /// <param name="inputHelper">the type of input we can try to convert.</param> /// <returns></returns> private static bool TryInput(IInputHelper inputHelper) { try { // // What do we have for conversion? // if (inputHelper.CheckItsTypeConversion(commandlineArgs)) { if (((BaseHelper)inputHelper).CheckCoverage() && inputHelper.Process()) { // convert it CompleteMessage = ((BaseHelper)inputHelper).CompleteMessage; return(true); } Problem = ((BaseHelper)inputHelper).Problem; } } catch (Exception ex) { Problem = ex; } return(false); }