コード例 #1
0
 protected void SetupSucceedingValidator(ValidatorInvocation forInvocation)
 {
     ValidatorSetups.Add(ValidatorResultSetup.Succeeding(forInvocation));
 }
コード例 #2
0
 protected void SetupFailingValidator(ValidatorInvocation forInvocation, string errorDetails)
 {
     ValidatorSetups.Add(ValidatorResultSetup.Failing(forInvocation, errorDetails));
 }