protected CmdResult SuccessOrFailure() { var cr = CurrentRequest.Complete(Name, Name + " " + failure + " failures and " + success + " successes", failure == 0); LocalWL(cr.ToPostExecString()); return(cr); }
public CmdResult Result(string message, bool tf) { if (!message.ToLower().Contains(Name.ToLower())) { message = Name + ": " + message; } var cr = CurrentRequest.Complete(Name, message, tf); LocalWL(message); return(cr); }