Exemplo n.º 1
0
 /// <summary>
 /// Set verify result
 /// </summary>
 /// <param name="isValid">Is valid</param>
 /// <param name="message">Message</param>
 protected void SetVerifyResult(bool isValid, string message = "")
 {
     this.isValid = isValid;
     verifyResult = this.isValid ? VerifyResult.SuccessResult() : VerifyResult.ErrorResult(FormatMessage(message));
 }