Ejemplo n.º 1
0
 protected virtual bool ValidateForExitTrueNew(bool test, AutomationExitCode exitCode, string formattedString)
 {
     if (test)
     {
         ExitCode     = exitCode;
         ErrorMessage = string.Format("Exit Code {0}: {1}", (int)exitCode, formattedString);
     }
     return(test);
 }
Ejemplo n.º 2
0
 protected virtual bool ValidateForExitTrue(bool test, AutomationExitCode exitCode, string formattedString)
 {
     if (test)
     {
         ExitCode     = exitCode;
         ErrorMessage = formattedString;
     }
     return(test);
 }