bool ok = Validator.TryValidateObject(person, context, list, true); Assert.IsFalse(ok); //list contains an result.
確定! 回上一頁